Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#56714 closed defect (bug) (duplicate)

php warning after updating to php 8 Attempt to read property "post_type" on null" in file /wp-includes/class-wp-query.php

Reported by: nouarah's profile nouarah Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0.2
Component: Query Keywords:
Focuses: multisite Cc:

Description

[02-Oct-2022 10:40:18 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/newls/public_html/wp-includes/class-wp-query.php on line 4338

Change History (2)

#1 @nouarah
2 years ago

  • Summary changed from php warning after updating to php 8 to php warning after updating to php 8 Attempt to read property "post_type" on null" in file /wp-includes/class-wp-query.php

#2 @dd32
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @nouarah and welcome to Trac!

Thanks for reporting this, We're currently tracking this in #56188 already :) (and #29660)

Last edited 2 years ago by dd32 (previous) (diff)
Note: See TracTickets for help on using tickets.