Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months 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
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
Note: See TracTickets for help on using tickets.