Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:551
Stack trace:
#0 /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(461): Yoast\WP\SEO\Integrations\Front_End_Integration->maybe_remove_title_presenter(Array)
#1 /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(417): Yoast\WP\SEO\Integrations\Front_End_Integration->get_needed_presenters('Home_Page')
#2 /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(379): Yoast\WP\SEO\Integrations\Front_End_Integration->get_presenters('Home_Page', Object(Yoast\WP\SEO\Context\Meta_Tags_Context))
#3 /home/itshassu/blog.itshass.uk/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
#4 /home/itshassu/blog.itshass.uk/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /home/itshassu/blog.itshass.uk/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(366): do_action('wpseo_head')
#7 /home/itshassu/blog.itshass.uk/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head('')
#8 /home/itshassu/blog.itshass.uk/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 /home/itshassu/blog.itshass.uk/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /home/itshassu/blog.itshass.uk/wp-includes/general-template.php(3052): do_action('wp_head')
#11 /home/itshassu/blog.itshass.uk/wp-includes/template-canvas.php(17): wp_head()
#12 /home/itshassu/blog.itshass.uk/wp-includes/template-loader.php(106): include('/home/itshassu/...')
#13 /home/itshassu/blog.itshass.uk/wp-blog-header.php(19): require_once('/home/itshassu/...')
#14 /home/itshassu/blog.itshass.uk/index.php(17): require('/home/itshassu/...')
#15 {main}
thrown in /home/itshassu/blog.itshass.uk/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551