Same issue on site with Yoast SEO (Version 20.5), Yoast SEO Premium (Version 20.2.1).
Deprecated: Function Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional::get_feature_flag is?deprecated?since version Yoast SEO 20.5 with no alternative available. in?/home/xxx/xxx/public_html/xxx/wp-includes/functions.php?on line?5393
Deprecated: Function Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional::get_feature_flag is?deprecated?since version Yoast SEO 20.5 with no alternative available. in??/home/xxx/xxx/public_html/xxx/wp-includes/functions.php?on line?5393
Deprecated: Function Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional::get_feature_flag is?deprecated?since version Yoast SEO 20.5 with no alternative available. in??/home/xxx/xxx/public_html/xxx/wp-includes/functions.php?on line?5393
Also, the sitemap (domain.com/sitemap_index.xml) isn’t working, while the deprecated function error message is showing. Error message on the sitemap page (sitemap starts working again once rolling back to Yoast version 20.4):
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.