[wp-trac] [WordPress Trac] #55400: PHP Warning: Attempt to read property "post_type"

WordPress Trac noreply at wordpress.org
Wed Mar 16 11:39:53 UTC 2022


#55400: PHP Warning:  Attempt to read property "post_type"
--------------------------+-----------------------------
 Reporter:  stcn          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

  I  get this error:
 {{{
 PHP Warning:  Attempt to read property "post_type" on null in /public_html
 /wp-includes/class-wp-query.php on line 4273
 }}}

 what is the problem? how can it be solved?

 Thanks!

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


More information about the wp-trac mailing list