Title: PHP Warning array_filter() implode()
Last modified: April 9, 2022

---

# PHP Warning array_filter() implode()

 *  Resolved [f2065](https://wordpress.org/support/users/f2065/)
 * (@f2065)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-array_filter-implode/)
 * On some websites, a warning appears constantly in the php-log:
 * PHP Warning: array_filter() expects parameter 1 to be array, string given in 
   wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 185
   
   PHP Warning: implode(): Invalid arguments passed in wp-content/plugins/all-in-
   one-seo-pack/app/Common/Meta/Robots.php on line 187
 * What to do with it?

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

 *  Plugin Support [Shivam Tyagi](https://wordpress.org/support/users/shivamtyagi/)
 * (@shivamtyagi)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-array_filter-implode/#post-15556746)
 * Hi [@f2065](https://wordpress.org/support/users/f2065/),
 * Can you please let me know if you’re using the latest version of All in One SEO?
   Also, would you mind sharing the PHP version on your server?
 *  Plugin Author [arnaudbroes](https://wordpress.org/support/users/arnaudbroes/)
 * (@arnaudbroes)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-array_filter-implode/#post-15558045)
 * Hey [@f2065](https://wordpress.org/support/users/f2065/),
 * Can you also check and see if you are using the `aioseo_robots_meta` filter hook
   anywhere? As far as I know, the only way you could running into this issue is
   if you or another plugin/theme is passing invalid values back to our filter hook.
 *  Plugin Author [arnaudbroes](https://wordpress.org/support/users/arnaudbroes/)
 * (@arnaudbroes)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-array_filter-implode/#post-15580849)
 * Hey [@f2065](https://wordpress.org/support/users/f2065/),
 * I’ll be closing the thread now as we haven’t heard back from you. Please feel
   free to reach out again or reopen the thread if you still need any help.

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

The topic ‘PHP Warning array_filter() implode()’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [arnaudbroes](https://wordpress.org/support/users/arnaudbroes/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-warning-array_filter-implode/#post-15580849)
 * Status: resolved