Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home/sagacious/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:551
Stack trace:
#0 /home/sagacious/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/sagacious/public_html/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/sagacious/public_html/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/sagacious/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
#4 /home/sagacious/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#5 /home/sagacious/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/sagacious/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(366): do_action('wpseo_head')
#7 /home/sagacious/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head('')
#8 /home/sagacious/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#9 /home/sagacious/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /home/sagacious/public_html/wp-includes/general-template.php(3049): do_action('wp_head')
#11 /home/sagacious/public_html/wp-content/themes/Impreza/framework/templates/header.php(23): wp_head()
#12 /home/sagacious/public_html/wp-content/themes/Impreza/framework/functions/helpers.php(110): include('/home/sagacious...')
#13 /home/sagacious/public_html/wp-content/themes/Impreza/header.php(10): us_load_template('templates/heade...')
#14 /home/sagacious/public_html/wp-includes/template.php(783): require_once('/home/sagacious...')
#15 /home/sagacious/public_html/wp-includes/template.php(718): load_template('/home/sagacious...', true, Array)
#16 /home/sagacious/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#17 /home/sagacious/public_html/wp-content/themes/Impreza/framework/templates/single-us_portfolio.php(6): get_header()
#18 /home/sagacious/public_html/wp-content/themes/Impreza/framework/functions/helpers.php(110): include('/home/sagacious...')
#19 /home/sagacious/public_html/wp-content/themes/Impreza/single-us_portfolio.php(10): us_load_template('templates/singl...')
#20 /home/sagacious/public_html/wp-includes/template-loader.php(106): include('/home/sagacious...')
#21 /home/sagacious/public_html/wp-blog-header.php(19): require_once('/home/sagacious...')
#22 /home/sagacious/public_html/index.php(17): require('/home/sagacious...')
#23 {main}
thrown in /home/sagacious/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551