Fatal error: Uncaught Error: Call to undefined function getallheaders() in /wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1
Stack trace:
#0 /wp-settings.php(263): require()
#1 /wp-config.php(89): require_once('/wp-settings.ph...')
#2 /wp-load.php(50): require_once('/wp-config.php')
#3 /wp-blog-header.php(13): require_once('/wp-load.php')
#4 /index.php(17): require('/wp-blog-header...')
#5 {main}
thrown in /wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 1
Fatal error: Uncaught Error: Call to a member function set() on null in /wp-includes/l10n.php:786
Stack trace:
#0 /wp-includes/l10n.php(874): load_textdomain('default', '//wp-content/la...', 'pl_PL')
#1 /wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /wp-includes/l10n.php on line 786