Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#57256 closed defect (bug) (invalid)

PHP Fatal error: Uncaught Error: Call to undefined function _deprecated_file()

Reported by: platonkristinin's profile platonkristinin Owned by:
Milestone: Priority: normal
Severity: critical Version: 6.1.1
Component: General Keywords:
Focuses: Cc:

Description

Hi. Got this error line in server error log using PHP 8.0.16 and WP 6.1.1:

PHP Fatal error: Uncaught Error: Call to undefined function _deprecated_file() in /data/www/domain.com/wp-includes/class.wp-dependencies.php:11\nStack trace:\n#0 {main}\n thrown in /data/www/domain.com/wp-includes/class.wp-dependencies.php on line 11\n

Change History (2)

#1 @platonkristinin
19 months ago

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

Seems bots trying to execute .php files outside of WP scope and that's why this error happens.

#2 @SergeyBiryukov
19 months ago

  • Milestone Awaiting Review deleted

Hi there, welcome to WordPress Trac!

There is some discussion on this in #51806.

Note: See TracTickets for help on using tickets.