Missing REST API and Translation Controller Classes
-
I’m experiencing a critical WordPress installation error when trying to run a local site using XAMPP. The WordPress installation fails to load with two specific fatal errors related to missing core classes:
- Missing Class:
WP_REST_Revisions_Controller
- Missing Class:
WP_Translation_Controller
Steps I’ve Already Attempted:
- Backed up the WordPress website using Softaculous
- Extracted website files locally
- Imported files to XAMPP directory (C:\xampp\htdocs\mehfooz)
- Added database in XAMPP
- Changed localhost database name in wp-config.php
- Verified database credentials
Error Details:
Fatal error: Uncaught Error: Class “WP_REST_Revisions_Controller” not found in C:\xampp\htdocs\mehfooz\wp-includes\rest-api\endpoints\class-wp-rest-global-styles-revisions-controller.php:17 Stack trace: #0 C:\xampp\htdocs\mehfooz\wp-settings.php(276): require() #1 C:\xampp\htdocs\mehfooz\wp-config.php(96): require_once(‘C:\\xampp\\htdocs…’) #2 C:\xampp\htdocs\mehfooz\wp-load.php(50): require_once(‘C:\\xampp\\htdocs…’) #3 C:\xampp\htdocs\mehfooz\wp-blog-header.php(13): require_once(‘C:\\xampp\\htdocs…’) #4 C:\xampp\htdocs\mehfooz\index.php(17): require(‘C:\\xampp\\htdocs…’) #5 {main} thrown in C:\xampp\htdocs\mehfooz\wp-includes\rest-api\endpoints\class-wp-rest-global-styles-revisions-controller.php on line 17
Fatal error: Uncaught Error: Class “WP_Translation_Controller” not found in C:\xampp\htdocs\mehfooz\wp-includes\l10n.php:800 Stack trace: #0 C:\xampp\htdocs\mehfooz\wp-includes\l10n.php(959): load_textdomain(‘default’, ‘C:\\xampp\\htdocs…’, ‘en_US’) #1 C:\xampp\htdocs\mehfooz\wp-includes\class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in C:\xampp\htdocs\mehfooz\wp-includes\l10n.php on line 800
- Missing Class:
- You must be logged in to reply to this topic.