Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home/dunareec/public_html/new/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:551
Stack trace:
#0 /home/dunareec/public_html/new/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/dunareec/public_html/new/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(417): Yoast\WP\SEO\Integrations\Front_End_Integration->get_needed_presenters('Post_Type')
#2 /home/dunareec/public_html/new/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(379): Yoast\WP\SEO\Integrations\Front_End_Integration->get_presenters('Post_Type', Object(Yoast\WP\SEO\Context\Meta_Tags_Context))
#3 /home/dunareec/public_html/new/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
#4 /home/dunareec/public_html/new/wp-includes/c in /home/dunareec/public_html/new/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551