Fatal error: Uncaught Error: Class "WP_REST_Revisions_Controller" not found in /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17
Stack trace:
#0 /var/www/html/wp-settings.php(285): require()
#1 /var/www/html/wp-config.php(82): require_once('...')
#2 /var/www/html/wp-load.php(50): require_once('...')
#3 /var/www/html/wp-blog-header.php(13): require_once('...')
#4 /var/www/html/index.php(17): require('...')
#5 {main}
thrown in /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php on line 17
Fatal error: Uncaught Error: Call to a member function set() on null in /var/www/html/wp-includes/l10n.php:856
Stack trace:
#0 /var/www/html/wp-includes/l10n.php(959): load_textdomain()
#1 /var/www/html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /var/www/html/wp-includes/l10n.php on line 856