[wp-trac] Re: [WordPress Trac] #3642: "Fatal error: [] operator not supported for strings in wp-includes/classes.php on line 402" after upgrade to 2.1

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 24 06:07:29 GMT 2007


#3642: "Fatal error: [] operator not supported for strings in wp-
includes/classes.php on line 402" after upgrade to 2.1
----------------------------+-----------------------------------------------
 Reporter:  gregh           |        Owner:  ryan
     Type:  defect          |       Status:  new 
 Priority:  low             |    Milestone:  2.2 
Component:  Administration  |      Version:  2.1 
 Severity:  normal          |   Resolution:      
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by markjaquith):

  * owner:  anonymous => ryan

Comment:

 Tracing this backwards, I've gotten this far:

 {{{category-template.php:182}}} must be returning non-array

 {{{
 $categories = get_categories($r);
 }}}

 So the bug is probably there.  get_categories should probably return blank
 array() if it has no results.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3642#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list