#57258 closed defect (bug) (invalid)
Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found
Reported by: | confile | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.1.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Wordpress version:
PHP Errors:
Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php on line 17 --- Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php:17 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php on line 17 --- Fatal error: Uncaught Error: Class 'WP_Widget' not found in wp-includes/widgets/class-wp-widget-tag-cloud.php:17 1. {main} thrown in wp-includes/widgets/class-wp-widget-tag-cloud.php on line 17 --- Fatal error: Uncaught Error: Call to undefined function __() in wp-admin/user/menu.php:10 1. {main} thrown in wp-admin/user/menu.php on line 10 --- Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php on line 17 --- Fatal error: Uncaught Error: Call to undefined function _deprecated_file() in wp-includes/class.wp-dependencies.php:11 1. {main} thrown in wp-includes/class.wp-dependencies.php on line 11
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi and welcome to WordPress Trac!
Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions.
I'm assuming your site is working as it should now, and it's likely that the problem was a partial update due to an interruption in the process or incorrect server's setting for files access. In such cases the hosting company is most likely to help quickly and easily, and if not, the next place to ask is the Support forum: https://wordpress.org/support/forum/how-to-and-troubleshooting/
Since there is no specific bug report against WordPress Core software, I'm closing this ticket as invalid.