Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#57254 closed defect (bug) (invalid)

PHP Fatal error: Uncaught Error: Class "WP_REST_Controller" not found

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: Class "WP_REST_Controller" not found in /data/www/domain.com/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17\nStack trace:\n#0 {main}\n thrown in /data/www/domain.com/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php on line 17\n

Change History (2)

#1 @platonkristinin
2 years 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
2 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.