Fatal error: Uncaught Error: Class 'WP_REST_Posts_Controller' not found in C:\xampp\htdocs\aszhi\wp-includes\rest-api\endpoints\class-wp-rest-attachments-controller.php:17 Stack trace: #0 {main} thrown in C:\xampp\htdocs\aszhi\wp-includes\rest-api\endpoints\class-wp-rest-attachments-controller.php on line 17