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