Title: Warning: array_map()
Last modified: November 19, 2020

---

# Warning: array_map()

 *  Resolved [ToddWelch](https://wordpress.org/support/users/toddwelch/)
 * (@toddwelch)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_map-2/)
 * When I edit a post such as the one referenced I get this at the top of the page
   before the editor loads:
 * Warning: array_map(): Expected parameter 2 to be an array, bool given in /home/
   customer/www/highaltitudebrands.com/public_html/wp-content/plugins/wordpress-
   seo/inc/class-wpseo-meta.php on line 1017
 * and under SEO Analysis I see:
 * An error occurred in the ‘previouslyUsedKeywords-usedKeywords’ assessment
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_map-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_map-2/#post-13681025)
 * Hi [@toddwelch](https://wordpress.org/support/users/toddwelch/)
 * We’re sorry for the trouble you’re experiencing with our plugin.
 * Given the warning messages, we suspect that the data stored in the Yoast indexables
   table in the WordPress database may be outdated or invalid. Please try the following
   steps:
 * 1. Install the [Yoast Test Helper](https://wordpress.org/plugins/yoast-test-helper/)
   plugin,
    2. Go to Admin > Tools > Yoast Test and 3. Click the ‘Reset indexables
   tables & migrations’ button 4. After clearing out the indexable data, run the
   site-wide scan under `Admin > SEO > Tools` and click the ‘Start SEO Data Optimization’
   button. This may take a few minutes depending on the size of your site. After
   following those steps, do you still see those errors?
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_map-2/#post-13709164)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

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

The topic ‘Warning: 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/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_map-2/#post-13709164)
 * Status: resolved