Uncaught Error: Class ‘WP_REST_Revisions_Controller’ not found

[ad_1]

I got this error below on the wordpress website I am currrently workiing on. Kindly help me in fixing it.

Fatal error: Uncaught Error: Class ‘WP_REST_Revisions_Controller’ not found in /home/precio27/public_html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17 Stack trace: #0 /home/precio27/public_html/wp-settings.php(285): require() #1 /home/precio27/public_html/wp-config.php(90): require_once(‘/home/precio27/…’) #2 /home/precio27/public_html/wp-load.php(50): require_once(‘/home/precio27/…’) #3 /home/precio27/public_html/wp-blog-header.php(13): require_once(‘/home/precio27/…’) #4 /home/precio27/public_html/index.php(17): require(‘/home/precio27/…’) #5 {main} thrown in /home/precio27/public_html/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php on line 17

I can’t seem to find a solution to the above error.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer