Fatal error: Uncaught Error: Call to undefined function wp_get_server_protocol() in /var/www/wp-includes/functions.php:1460
Stack trace:
#0 /var/www/wp-includes/rest-api/class-wp-rest-server.php(1811): status_header(200)
#1 /var/www/wp-includes/rest-api/class-wp-rest-server.php(475): WP_REST_Server->set_status(200)
#2 /var/www/wp-includes/rest-api.php(420): WP_REST_Server->serve_request('/oembed/1.0/emb...')
#3 /var/www/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#4 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /var/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#6 /var/www/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
#7 /var/www/wp-includes/class-wp.php(813): WP->parse_request('')
#8 /var/www/wp-includes/functions.php(1336): WP->main('')
#9 /var/www/wp-blog-header.php(16): wp()
#10 /var/www/index.php(17): require('/var/www/wp-blo...')
#11 {main}
thrown in /var/www/wp-includes/functions.php on line 1460
Fatal error: Uncaught Error: Call to undefined function wp_get_server_protocol() in /var/www/wp-includes/functions.php:1460
Stack trace:
#0 /var/www/wp-includes/functions.php(3840): status_header(500)
#1 /var/www/wp-includes/functions.php(3787): _default_wp_die_handler('<div class="wp-...', 'WordPress &rsaq...', Array)
#2 /var/www/wp-includes/class-wp-fatal-error-handler.php(241): wp_die(Object(WP_Error), '', Array)
#3 /var/www/wp-includes/class-wp-fatal-error-handler.php(156): WP_Fatal_Error_Handler->display_default_error_template(Array, Object(WP_Error))
#4 /var/www/wp-includes/class-wp-fatal-error-handler.php(60): WP_Fatal_Error_Handler->display_error_template(Array, Object(WP_Error))
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /var/www/wp-includes/functions.php on line 1460