[wp-trac] [WordPress Trac] #45811: debug warnings generated on 404 feed

WordPress Trac noreply at wordpress.org
Wed Jan 2 14:03:48 UTC 2019


#45811: debug warnings generated on 404 feed
--------------------------+-----------------------------
 Reporter:  wpmuguru      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  5.0.2
 Severity:  minor         |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 When a site has a plugin active that use `is_singular` with a $post_type
 parameter in template_redirect (or similar hook) debug warnings of

 {{{
 PHP Notice: Trying to get property of non-object
 }}}

 when a non-existent /some-slug/feed/ url is requested.

 Original discussion:
 https://github.com/woocommerce/woocommerce/issues/21756

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45811>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list