[wp-trac] [WordPress Trac] #25477: Notice: Trying to get property of non-object in .../wp-includes/post.php on line 2847

WordPress Trac noreply at wordpress.org
Thu Oct 3 10:38:42 UTC 2013


#25477: Notice:  Trying to get property of non-object in .../wp-includes/post.php
on line 2847
--------------------------+-----------------------------
 Reporter:  jpswade       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.6.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When I use wp_insert_post() to add a new post I get the following error:

 {{{
 Notice:  Trying to get property of non-object in .../wp-includes/post.php
 on line 2847
 }}}

 If it is something caused by me, I can only assume that there aren't
 sufficient checks in place to prevent this error from happening.

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


More information about the wp-trac mailing list