Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /home1/pbnyhwte/public_html/dubaitravelator.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:551
Stack trace:
#0 /home1/pbnyhwte/public_html/dubaitravelator.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 /home1/pbnyhwte/public_html/dubaitravelator.com/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 /home1/pbnyhwte/public_html/dubaitravelator.com/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 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
#4 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#5 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(366): do_action('wpseo_head')
#7 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head('')
#8 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#9 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/general-template.php(3053): do_action('wp_head')
#11 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-content/themes/rehub-theme/header.php(11): wp_head()
#12 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/template.php(785): require_once('/home1/pbnyhwte...')
#13 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/template.php(720): load_template('/home1/pbnyhwte...', true, Array)
#14 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#15 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-content/themes/rehub-theme/archive.php(2): get_header()
#16 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-includes/template-loader.php(106): include('/home1/pbnyhwte...')
#17 /home1/pbnyhwte/public_html/dubaitravelator.com/wp-blog-header.php(19): require_once('/home1/pbnyhwte...')
#18 /home1/pbnyhwte/public_html/dubaitravelator.com/index.php(17): require('/home1/pbnyhwte...')
#19 {main}
thrown in /home1/pbnyhwte/public_html/dubaitravelator.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php on line 551