[wp-trac] [WordPress Trac] #4808: Fatal: Object could not be converted to string taxonomy.php:925

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 24 17:45:04 GMT 2007


#4808: Fatal: Object could not be converted to string taxonomy.php:925
-----------------------------+----------------------------------------------
 Reporter:  apokalyptik      |       Owner:  rboren                            
     Type:  defect           |      Status:  new                               
 Priority:  highest omg bbq  |   Milestone:  2.3                               
Component:  Administration   |     Version:  2.3                               
 Severity:  critical         |    Keywords:  object string taxonomy convert 925
-----------------------------+----------------------------------------------
 The problem occurs when $parent is an object and not an integer as
 expected.  The patch I'm including handles both possible cases as I'm not
 entirely sure if $parent should *always* be an integer, *always* be an
 object, or whether both types are acceptable here (I'm not familiar enough
 with the taxonomy code.)  The first 2 possibilities warrant more elegant
 fixes than this.

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


More information about the wp-trac mailing list