Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in /var/www/html/wp-content/plugins/code-snippets/php/rest-api/class-snippets-rest-controller.php:27
Stack trace:
#0 {main}
thrown in /var/www/html/wp-content/plugins/code-snippets/php/rest-api/class-snippets-rest-controller.php on line 27