Deprecated function get_feature_flag on premium plugin
-
I updated the plugins for my client, locally, and I got the following errors:
( ! ) Deprecated: Function Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional::get_feature_flag is <strong>deprecated</strong> since version Yoast SEO 20.5 with no alternative available. in .../wp-includes/functions.php on line 5423 Call Stack # Time Memory Function Location 1 0.0004 368664 {main}( ) .../server.php:0 2 0.0108 413992 require( '.../wp-admin/update-core.php ) .../server.php:250 3 0.0121 415352 require_once( '.../wp-admin/admin.php ) .../update-core.php:10 4 0.0122 416168 require_once( '.../wp-load.php ) .../admin.php:34 5 0.0122 416752 require_once( '.../wp-config.php ) .../wp-load.php:50 6 0.0123 431640 require_once( '.../wp-settings.php ) .../wp-config.php:104 7 0.2231 10229496 do_action( $hook_name = 'init' ) .../wp-settings.php:623 8 0.2231 10229872 WP_Hook->do_action( $args = [0 => ''] ) .../plugin.php:517 9 0.2231 10229872 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) .../class-wp-hook.php:332 10 0.2499 12857928 Yoast\WP\SEO\Loader->load_integrations( '' ) .../class-wp-hook.php:308 11 0.2509 12927128 Yoast\WP\SEO\Loader->conditionals_are_met( $loadable_class = 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Block_Patterns' ) .../loader.php:209 12 0.2510 12928424 Yoast\WP\SEO\Conditionals\Feature_Flag_Conditional->is_met( ) .../loader.php:271 13 0.2510 12928424 Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional->get_feature_flag( ) .../feature-flag-conditional.php:16 14 0.2510 12928424 _deprecated_function( $function_name = 'Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional::get_feature_flag', $version = 'Yoast SEO 20.5', $replacement = ??? ) .../schema-blocks-conditional.php:20 15 0.2510 12928744 trigger_error( $message = 'Function Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional::get_feature_flag is <strong>deprecated</strong> since version Yoast SEO 20.5 with no alternative available.', $error_level = 16384 )
Any idea what could be causing it? I only see this function being used in the SEO plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Deprecated function get_feature_flag on premium plugin’ is closed to new replies.