Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in C:\xampp\htdocs\aszhi\wp-includes\rest-api\endpoints\class-wp-rest-post-types-controller.php:17
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\aszhi\wp-includes\rest-api\endpoints\class-wp-rest-post-types-controller.php on line 17