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