Fatal error plugin Yoast and array_map
-
Hello
I have a fatal error that seems to come from Yoast SEO.
When I try to edit articles that use Yoast SEO, this is the message I get when opening the page :
Fatal error: Uncaught Error: array_map(): Argument #2 ($array) must be of type array, false given
in /home/capsavenbl/www/wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/inc/class-wpseo-meta.php on line 1027Call stack:
array_map(Closure, false)
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/inc/class-wpseo-meta.php:1027WPSEO_Meta::keyword_usage('cours escalade Fontainebleau', 123)
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-post-metabox-formatter.php:190WPSEO_Post_Metabox_Formatter::get_keyword_usage_for_current_post('cours escalade Fontainebleau')
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-post-metabox-formatter.php:150WPSEO_Post_Metabox_Formatter::get_focus_keyword_usage()
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-post-metabox-formatter.php:76WPSEO_Post_Metabox_Formatter::get_values()
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-metabox-formatter.php:44WPSEO_Metabox_Formatter::get_values()
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/metabox/class-metabox.php:289WPSEO_Metabox::get_metabox_script_data()
wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/metabox/class-metabox.php:902WPSEO_Metabox::enqueue('post.php')
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters(NULL, array)
wp-includes/class-wp-hook.php:348WP_Hook::do_action(array)
wp-includes/plugin.php:517do_action('admin_enqueue_scripts', 'post.php')
wp-admin/admin-header.php:118require_once('/home/capsavenbl/www/wp-admin/admin-header.php')
wp-admin/edit-form-advanced.php:425require('/home/capsavenbl/www...it-form-advanced.php')
wp-admin/post.php:206
I am in wordpress version 6.7.1 (the latest)
I have Yoast SEO Premium version Yoast SEO 17.8 And I can’t install the Yoast SEO 23.9 version.
The error would come from the fact that I have not activated the premium subscription this year? Or is there another problem?
Thank you very much in advance
Fred GriotThe page I need help with: [log in to see the link]
The topic ‘Fatal error plugin Yoast and array_map’ is closed to new replies.