Fatal error: Call to undefined function getallheaders() in /wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 1