Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home/smarty/public_html/kayashton.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:551
Stack trace:
#0 /home/smarty/public_html/kayashton.com/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/smarty/public_html/kayashton.com/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/smarty/public_html/kayashton.com/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/smarty/public_html/kayashton.com/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
#4 /hom in /home/smarty/public_html/kayashton.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551