Title: [Plugin: WordPress SEO by Yoast] Error in_array() [function.in-array]:
Last modified: August 20, 2016

---

# [Plugin: WordPress SEO by Yoast] Error in_array() [function.in-array]:

 *  [Bart van Poll](https://wordpress.org/support/users/bartvanpoll/)
 * (@bartvanpoll)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-error-in_array-functionin-array/)
 * I’m using Multi user installation and latest version of plugin.
 * On all blogs, the WordPress SEO plugin works great!
 * When I create a new blog though, I get many errors when the plugin is activated.
 * 1) (On top of my page)
    Warning: in_array() [function.in-array]: Wrong datatype
   for second argument in […directory]
 * 2) When I activate (any) plugin my screen goes blank
 * 3) I cannot modify permalink
 * When Googling on this error I found some others who also experienced a bug that
   looks like this.
    [http://wordpress.org/support/topic/getting-error-in-dashboard-widgets-for-newly-created-sites?replies=2](http://wordpress.org/support/topic/getting-error-in-dashboard-widgets-for-newly-created-sites?replies=2)
   [http://jigoshop.com/topic/possible-bug-with-wordpress-seo-plugin/](http://jigoshop.com/topic/possible-bug-with-wordpress-seo-plugin/)
 * Thanks for letting me know what might be the issue!
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Bart van Poll](https://wordpress.org/support/users/bartvanpoll/)
 * (@bartvanpoll)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-error-in_array-functionin-array/#post-2192956)
 * The full error is:
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in…/
   wp-content/plugins/wordpress-seo/inc/class-sitemaps.php on line 540

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress SEO by Yoast] Error in_array() [function.in-array]:’
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/)

 * 1 reply
 * 1 participant
 * Last reply from: [Bart van Poll](https://wordpress.org/support/users/bartvanpoll/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-error-in_array-functionin-array/#post-2192956)
 * Status: not resolved