Fatal error: Uncaught Error: Class "WP_REST_Posts_Controller" not found in /home/academyerasoluti/public_html/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17
Stack trace:
#0 {main}
thrown in /home/academyerasoluti/public_html/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17