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