[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 13:08:01 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 | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by jdgrimes):
It looks like this is caused by passing an invalid taxonomy name, which
causes `get_taxonomy()` to return `false` rather than the expected
taxonomy object. The code tries to access properties of the taxonomy
object without ever checking if it is valid.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25477#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list