[wp-trac] [WordPress Trac] #49171: Trying to get property 'post_type' of non-object in wp-includes/link-template.php on line 682

WordPress Trac noreply at wordpress.org
Thu Jun 4 17:34:55 UTC 2020


#49171: Trying to get property 'post_type' of non-object in wp-includes/link-
template.php on line 682
--------------------------+------------------------------
 Reporter:  ronald2020    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  template
--------------------------+------------------------------

Comment (by MadtownLems):

 > A variant (same sort of problem) throws an error in class-wp-query.php
 with the following:
 > https://your.site.com/news2020/feed/

 You can find more information on this particular bit on this ticket:
 https://core.trac.wordpress.org/ticket/29660

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49171#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list