Title: php error after upgrade
Last modified: August 22, 2016

---

# php error after upgrade

 *  Resolved [numero7](https://wordpress.org/support/users/numero7/)
 * (@numero7)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-upgrade-1/)
 * Hi i got this error after upgrading to the last version of AIOSEO
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   home/www/mysite/web/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php 
   on line 1360
 * any idea to resolve ?
 * [https://wordpress.org/plugins/all-in-one-seo-pack/](https://wordpress.org/plugins/all-in-one-seo-pack/)

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

 *  [Peter Baylies](https://wordpress.org/support/users/pbaylies/)
 * (@pbaylies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-upgrade-1/#post-5935010)
 * Hi numero7,
 * What are your custom post type settings, and have you changed your settings from
   the defaults?
 *  Thread Starter [numero7](https://wordpress.org/support/users/numero7/)
 * (@numero7)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-upgrade-1/#post-5935015)
 * what do you mean by cpt settings ? permalink structure ?
 * I did not change any settings, just performed the upgrade.
 *  Thread Starter [numero7](https://wordpress.org/support/users/numero7/)
 * (@numero7)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-upgrade-1/#post-5935023)
 * Hi again, it seems to be okay now. I deactivated the plugin, flushed caches and
   reactivated. the error gone … thanks for your time 🙂

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

The topic ‘php error after upgrade’ 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/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [numero7](https://wordpress.org/support/users/numero7/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-upgrade-1/#post-5935023)
 * Status: resolved