Title: Deprecated function Yoast SEO
Last modified: August 9, 2022

---

# Deprecated function Yoast SEO

 *  Resolved [attosoftonline](https://wordpress.org/support/users/attosoftonline/)
 * (@attosoftonline)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/)
 * Deprecated: Yoast\WP\SEO\Conditionals\Front_End_Inspector_Conditional::get_feature_flag
   is considered deprecated as of WPSEO version 19.5 and no other alternatives are
   available. in /home/xarte/public_html/wp-includes/functions.php on line 5389
 * ???

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/deprecated-function-yoast-seo/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/deprecated-function-yoast-seo/page/2/?output_format=md)

 *  [amirassari2002](https://wordpress.org/support/users/amirassari2002/)
 * (@amirassari2002)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15900446)
 * Same problem…
 *  Thread Starter [attosoftonline](https://wordpress.org/support/users/attosoftonline/)
 * (@attosoftonline)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15900497)
 * on the frontend of site!!
 * [https://prnt.sc/1nxifV3F0D-6](https://prnt.sc/1nxifV3F0D-6)
 *  [justinmaurerdotdev](https://wordpress.org/support/users/360zen/)
 * (@360zen)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15902455)
 * We were getting this too, but it went away after I upgraded WordPress SEO Premium
   from 19.0.1 to 19.1. If that doesn’t fix it, it’s likely from some other Yoast
   add-on that’s attempting to call this deprecated method.
 *  [rbiweb](https://wordpress.org/support/users/rbiweb/)
 * (@rbiweb)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15902477)
 * I also have that error here [https://advertising-excellence.com/](https://advertising-excellence.com/)
   and I’m not able to login to the admin. It tells me Error: Cookies are blocked
   due to unexpected output. However, Chrome is set to allow all cookies. I also
   tried to login to wp-admin from my phone and I get the same Cookies error.
    -  This reply was modified 3 years, 8 months ago by [rbiweb](https://wordpress.org/support/users/rbiweb/).
 *  [rbiweb](https://wordpress.org/support/users/rbiweb/)
 * (@rbiweb)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15902532)
 * Mine is fixed now and the hosting company says there was a spelling error in 
   Debug mode. I have no idea what that means.
 *  [Taco Verdonschot](https://wordpress.org/support/users/tacoverdo/)
 * (@tacoverdo)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-15909610)
 * We absolutely messed up the 19.5 release last Tuesday. That should not have happened
   and we’re deeply sorry about breaking your sites. We did push a new release as
   fast as we could (19.5.1) but failed to acknowledge publicly the fact that this
   shouldn’t have happened in the first place.
 * That we also ran into a bug with wordpress.org itself that caused the .zip file
   to be unavailable for a while didn’t help the situation at all.
 * So yes, you have all the right to be mad at us for this. We’re sorry and promise
   to do better in the future.
 * Note: If you are seeing this thread and still have these problems, please go 
   to [https://yoa.st/4mw](https://yoa.st/4mw) for the steps on how to resolve this
   problem.
 *  [dee35007](https://wordpress.org/support/users/dee35007/)
 * (@dee35007)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16140015)
 * I’m still getting this error despite having upgraded to the latest version.
 *  [toad78](https://wordpress.org/support/users/toad78/)
 * (@toad78)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16645495)
 * Ditto for Yoast SEO (20.5), Yoast SEO Premium (20.3)
   **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 **5423**
 * **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 **5423**
 * **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 **5423**
 *  [toad78](https://wordpress.org/support/users/toad78/)
 * (@toad78)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16645500)
 * Ditto for Yoast SEO (20.5), Yoast SEO Premium (20.3)
   **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 **5423**
 * **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 **5423**
 * **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 **5423**
 *  [horlysoft](https://wordpress.org/support/users/horlysoft/)
 * (@horlysoft)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16647553)
 * I saw the same issue today, but after i update the plugins, the error gone.
 *  [staniute](https://wordpress.org/support/users/staniute/)
 * (@staniute)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16648381)
 * 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.
 *  [lifebloom](https://wordpress.org/support/users/lifebloom/)
 * (@lifebloom)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16653156)
 * We have the same issue, the premium plugin is causing a warning about depricated
   something or other in the function.php. When we turn Yoast SEO Premiunm
 *  [toad78](https://wordpress.org/support/users/toad78/)
 * (@toad78)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16662706)
 * Any response? I would like to get this resolved quickly, if possible.
 *  [ITP TECHNOLOGIE](https://wordpress.org/support/users/abitp/)
 * (@abitp)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16750963)
 * Same error
 *  [giovancruz](https://wordpress.org/support/users/giovancruz/)
 * (@giovancruz)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/#post-16797932)
 * Same error here, with everything updated, WP, plugins…

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/deprecated-function-yoast-seo/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/deprecated-function-yoast-seo/page/2/?output_format=md)

The topic ‘Deprecated function Yoast SEO’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 17 replies
 * 14 participants
 * Last reply from: [Ümit KÖSE](https://wordpress.org/support/users/umitkose/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-yoast-seo/page/2/#post-17158097)
 * Status: resolved