• Resolved fgriot

    (@fgriot)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @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.

    Kindly follow the help article to update the free version of Yoast SEO. Then keep only the free version of Yoast SEO activated and try to edit a post and check if the fatal error exists.

    Thread Starter fgriot

    (@fgriot)

    Merci !

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

The topic ‘Fatal error plugin Yoast and array_map’ is closed to new replies.