Make WordPress Core

Opened 21 months ago

Closed 7 weeks ago

#61363 closed defect (bug) (invalid)

warnings appearing in log - php 8.3 related deprecations?

Reported by: hyperpolymath's profile hyperpolymath Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5.3
Component: General Keywords: needs-patch php81
Focuses: administration Cc:

Description

I am finding the following WordPress warnings in query monitoring, and wondered if you could give advice on what needs to be done about them, or to see if changes could be made to eliminate or correct for them:

https://snipboard.io/XYOWZQ.jpg

Please let me know if you need more information from me about this, but I think it should be reproducible.

Jonathan

Change History (3)

#1 @jrf
21 months ago

  • Focuses php-compatibility removed
  • Keywords php81 added

@hyperpolymath Thank you for opening this ticket and welcome to WordPress Trac.

Unfortunately the ticket is not actionable as-is.

The notices you are seeing are PHP 8.1 deprecations and are most likely caused by a plugin or theme doing something wrong.

These instances will need a function stack backtrace to figure out where the problem originates as the function(s) in the functions.php file is passed incorrect information, which should be fixed at the point the information is passed, not where it is received (which is where the deprecation is being thrown).

#2 @siliconforks
21 months ago

Note that in the screenshot there's a little blue button with a plus sign (+) - if you click that, it will display the backtrace needed to diagnose the problem.

#3 @Presskopp
7 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

No action here, so I'm closing the ticket. Feel free to reopen if you think this is a reproducable core issue. If so, please provide steps to do so. Thank you.

Note: See TracTickets for help on using tickets.