Title: PHP Warning: implode(): Invalid arguments passed
Last modified: December 8, 2022

---

# PHP Warning: implode(): Invalid arguments passed

 *  Resolved [obamason1](https://wordpress.org/support/users/obamason1/)
 * (@obamason1)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/)
 * Hi
    After last update i see in error log
 *     ```
       [07-Dec-2022 07:29:07 UTC] 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
       [07-Dec-2022 07:29:07 UTC] PHP Warning:  implode(): Invalid arguments passed in wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 187
       [07-Dec-2022 13:49:29 UTC] 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
       [07-Dec-2022 13:49:29 UTC] PHP Warning:  implode(): Invalid arguments passed in wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 187
       ```
   
 * i see this thread [https://wordpress.org/support/topic/php-warning-array_filter-implode/](https://wordpress.org/support/topic/php-warning-array_filter-implode/)
   
   but no resalt
 * all-in-one-seo-pack version latest ( AIOSEO 4.2.8)
    php version server 7.4.33
 * to my mind the error in logs comes with 4.2.7 version AIOSEO

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

 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16273146)
 * Hi [@obamason1](https://wordpress.org/support/users/obamason1/),
 * Thanks for reaching out!
 * Can you please check and see if you are using the `aioseo_robots_meta` filter
   hook anywhere? As mentioned earlier in the thread you shared, the only way you
   could run into this issue is if you or another plugin/theme is passing invalid
   values back to our filter hook.
 * Let me know what you find.
 * Thanks!
 *  Thread Starter [obamason1](https://wordpress.org/support/users/obamason1/)
 * (@obamason1)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16274960)
 * >  if you are using the aioseo_robots_meta filter hook anywhere?
 * To my mind, I am using a physical robots.txt file and not using aioseo_robots_meta
   filter hook anywhere. Where can I see it exactly?
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16276150)
 * Hi [@obamason1](https://wordpress.org/support/users/obamason1/),
 * Can you use the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin to debug possible conflicts by following these steps:
 * 1. Go to Plugins > Add New and install and activate the Health Check & Troubleshooting
   plugin.
    2. Go to Plugins > Installed Plugins and click on Troubleshoot below
   the All in One SEO plugin. 3. This will temporarily disable all the plugins and
   switch to a default theme only for your user ID without impacting what your visitors
   see. 4. Check to see if you’re able to reproduce the problem. 5. Once you’re 
   done with troubleshooting, deactivate and delete the Health Check & Troubleshooting
   plugin.
 * Let me know what you find!
 *  Thread Starter [obamason1](https://wordpress.org/support/users/obamason1/)
 * (@obamason1)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16276531)
 * Thank you very much for your advice.
 * > 4. Check to see if you’re able to reproduce the problem.
 * When i disabled all plugins (without AIOSEO) the error.log is gone
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16289522)
 * Hi [@obamason1](https://wordpress.org/support/users/obamason1/),
 * Thanks for the update, and I’m sorry for the delay!
 * Could you please confirm that you’re saying everything is fine now? Or do you
   need further assistance?
 * Thanks!
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16297294)
 * Hi [@obamason1](https://wordpress.org/support/users/obamason1/), 
   We haven’t 
   heard back from you in a couple of days. I’m going to go ahead and close this
   thread for now. But if you’d like us to assist, please feel welcome to continue
   the conversation.
 * Thanks!

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

The topic ‘PHP Warning: implode(): Invalid arguments passed’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [Steve M](https://wordpress.org/support/users/wpsmort/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-implode-invalid-arguments-passed-2/#post-16297294)
 * Status: resolved