Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in E:\www\web\wp-includes\rest-api\endpoints\class-wp-rest-pattern-directory-controller.php:20
Stack trace:
#0 {main}
thrown in E:\www\web\wp-includes\rest-api\endpoints\class-wp-rest-pattern-directory-controller.php on line 20