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('Date_Archive')
#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('Date_Archive', 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.php(348): W in /home/workth5/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551