[wp-trac] [WordPress Trac] #11338: Customer Walker initialize error

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 7 04:01:07 UTC 2009


#11338: Customer Walker initialize error
--------------------------+-------------------------------------------------
 Reporter:  ShaneF        |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  high          |    Milestone:  2.9     
Component:  Formatting    |      Version:  2.9     
 Severity:  major         |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by dd32):

 > and it kills the blog. I am figuring out what is going on.

 Because its invalid PHP.

 for a start: {{{$walker_category = new Walker_Category_Rabbit()}}} -
 parenthesis on the end.

 Secondly, You cannot convert a object to a string and expect it to work -
 Only use the array format if at all possible, infact, only the array
 format will work when passing objects.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11338#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list