[wp-trac] [WordPress Trac] #56354: With PHP 8.0.x, WordPress class-wp-query.php core file throws "Attempt to read property “post_type” on null"

WordPress Trac noreply at wordpress.org
Tue Aug 9 11:56:58 UTC 2022


#56354: With PHP 8.0.x, WordPress class-wp-query.php core file throws "Attempt to
read property “post_type” on null"
--------------------------+------------------------
 Reporter:  deksar        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  6.0
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------
Changes (by costdev):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hi @deksar, thanks for opening this ticket!

 We're already tracking this issue in #29660. Let's continue the discussion
 there.

 P.S. As part of anti-spam efforts, I have also removed your comment
 linking to various websites as examples of the warning.

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


More information about the wp-trac mailing list