[wp-trac] [WordPress Trac] #18257: Fatal error: Cannot use object of type stdClass as array in /.../wp-includes/post.php on line 1202

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 26 18:03:45 UTC 2011


#18257: Fatal error: Cannot use object of type stdClass as array in /.../wp-
includes/post.php on line 1202
--------------------------+------------------------
 Reporter:  jmaimarc      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Post Types    |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  needs-patch   |
--------------------------+------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Looks like a duplicate. Please note my comments there: The
 get_post_type_labels() function was not designed as a public function.

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


More information about the wp-trac mailing list