Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in /home/vafrditczt/www/agri/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php:18
Stack trace:
#0 {main}
thrown in /home/vafrditczt/www/agri/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php on line 18