[wp-trac] [WordPress Trac] #9784: catchable fatal error - category template line 24

WordPress Trac wp-trac at lists.automattic.com
Sun May 10 22:22:48 GMT 2009


#9784: catchable fatal error - category template line 24
--------------------------+-------------------------------------------------
 Reporter:  johnmyr       |       Owner:  anonymous                               
     Type:  defect (bug)  |      Status:  new                                     
 Priority:  normal        |   Milestone:                                          
Component:  General       |     Version:  2.8                                     
 Severity:  normal        |    Keywords:  category template, catchable fatal error
--------------------------+-------------------------------------------------
 Found a possible bug when betatesting Hybrid 0.6 theme with 2.8 bleeding.

 When using the get_the_term_list() function to show a post's categories
 with the default (non-pretty) permalink settings, I receive this error:

 ''Catchable fatal error: Object of class stdClass could not be converted
 to string in ..\wp-includes\category-template.php on line 24''

 Code example::

 {{{
 get_the_term_list( $post->ID, 'category', 'Posted in', ', ', '' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9784>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list