[wp-trac] [WordPress Trac] #57254: PHP Fatal error: Uncaught Error: Class "WP_REST_Controller" not found

WordPress Trac noreply at wordpress.org
Fri Dec 2 07:54:13 UTC 2022


#57254: PHP Fatal error: Uncaught Error: Class "WP_REST_Controller" not found
-----------------------------+-----------------------------
 Reporter:  platonkristinin  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  6.1.1
 Severity:  critical         |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 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
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57254>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list