Title: Fatal error plugin Yoast and array_map
Last modified: November 28, 2024

---

# Fatal error plugin Yoast and array_map

 *  Resolved [fgriot](https://wordpress.org/support/users/fgriot/)
 * (@fgriot)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/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 **1027**
 * Call stack:
    1.  `array_map(Closure, false)`
        wp-content/plugins/wordpress-seo-premium/vendor/
        yoast/wordpress-seo/inc/class-wpseo-meta.php:1027
    2.  `WPSEO_Meta::keyword_usage('cours escalade Fontainebleau', 123)`
        wp-content/
        plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-
        post-metabox-formatter.php:190
    3.  `WPSEO_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:150
    4.  `WPSEO_Post_Metabox_Formatter::get_focus_keyword_usage()`
        wp-content/plugins/
        wordpress-seo-premium/vendor/yoast/wordpress-seo/admin/formatter/class-post-
        metabox-formatter.php:76
    5.  `WPSEO_Post_Metabox_Formatter::get_values()`
        wp-content/plugins/wordpress-seo-
        premium/vendor/yoast/wordpress-seo/admin/formatter/class-metabox-formatter.
        php:44
    6.  `WPSEO_Metabox_Formatter::get_values()`
        wp-content/plugins/wordpress-seo-premium/
        vendor/yoast/wordpress-seo/admin/metabox/class-metabox.php:289
    7.  `WPSEO_Metabox::get_metabox_script_data()`
        wp-content/plugins/wordpress-seo-
        premium/vendor/yoast/wordpress-seo/admin/metabox/class-metabox.php:902
    8.  `WPSEO_Metabox::enqueue('post.php')`
        wp-includes/class-wp-hook.php:324
    9.  `WP_Hook::apply_filters(NULL, array)`
        wp-includes/class-wp-hook.php:348
    10. `WP_Hook::do_action(array)`
        wp-includes/plugin.php:517
    11. `do_action('admin_enqueue_scripts', 'post.php')`
        wp-admin/admin-header.php:
        118
    12. `require_once('/home/capsavenbl/www/wp-admin/admin-header.php')`
        wp-admin/edit-
        form-advanced.php:425
    13. `require('/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 Griot
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-plugin-yoast-and-array_map%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * (@611shabnam)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-plugin-yoast-and-array_map/#post-18166945)
 * Hi [@fgriot](https://wordpress.org/support/users/fgriot/)
 * Using outdated plugins might be the reason. Kindly deactivate the outdated Yoast
   SEO Premium and update the free version of Yoast SEO from 17.8 to 23.9.
 * Before we discuss manually updating, let’s cover a few important things to be
   aware of beforehand.
 * First, Yoast SEO stores SEO data and settings in the database, so manually updating
   is not expected to cause any data loss.
 * Second, we recommend creating regular backups of your site and database for your
   site’s health and safety. This is especially important before installing, updating,
   or removing plugins. It provides you with a safety net in case something were
   to go wrong. Learn more about [the benefits of regular backups](https://yoast.com/help/how-to-backup-your-wordpress-site/).
 * Kindly follow the help article to [update the free version of Yoast SEO](https://yoast.com/help/how-can-i-update-my-free-plugin/).
   Then keep only the free version of Yoast SEO activated and try to edit a post
   and check if the fatal error exists.
    -  This reply was modified 1 year, 6 months ago by [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/).
 *  Thread Starter [fgriot](https://wordpress.org/support/users/fgriot/)
 * (@fgriot)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-plugin-yoast-and-array_map/#post-18168952)
 * Merci !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error plugin Yoast and array_map’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [fgriot](https://wordpress.org/support/users/fgriot/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-plugin-yoast-and-array_map/#post-18168952)
 * Status: resolved