Title: array_key_exists() expects parameter 2 to be array, boolean given in
Last modified: June 11, 2019

---

# array_key_exists() expects parameter 2 to be array, boolean given in

 *  Resolved [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * (@hardik250186)
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/)
 * Hello Dear author,
 * I have recently add this plugin in one of my client website, But its given an
   error :
 * array_key_exists() expects parameter 2 to be array, boolean given in aioseop_class.
   php on line 4941.
 * I am trying to update general setting from backend and getting above error.
 * Please help me to sortout this issue.
 * Thanks & Regards,
    Hardik Solanki.
    -  This topic was modified 7 years ago by [hardik250186](https://wordpress.org/support/users/hardik250186/).

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

 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11626935)
 * Try clicking save on the options. Does it go away?
 *  Thread Starter [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * (@hardik250186)
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11626954)
 * Hi Michael,
 * Thanks for your message. Yes, I have already click on save option and I have 
   got option save successfully message but when I have check option its doesn’t
   seems to save.
 * I have this error on 2 sites. Can you please help me?
 * Thanks & Regards,
    Hardik Solanki.
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11626969)
 * [@hardik250186](https://wordpress.org/support/users/hardik250186/)
 * Thank you for your followup. Please try these troubleshooting steps to narrow
   down a plugin/theme conflict: [https://semperplugins.com/documentation/how-to-troubleshoot-issues-with-all-in-one-seo-pack/](https://semperplugins.com/documentation/how-to-troubleshoot-issues-with-all-in-one-seo-pack/)
 *  Thread Starter [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * (@hardik250186)
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11626984)
 * Hi Michael,
 * Thans for you promt reply. Let me check and get back to you.
 * Thanks.
 *  Thread Starter [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * (@hardik250186)
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11627138)
 * Hi Michael,
 * I have resolved issue. I have found issue that something wrong with database,
   So I have correct it.
 * Thanks for your help. Very appreciate.
 * Regards,
 * Hardik Solanki.
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11627153)
 * [@hardik250186](https://wordpress.org/support/users/hardik250186/) So it will
   help anyone else in the same situation, can you please disclose the problem and
   fix?
 *  Thread Starter [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * (@hardik250186)
 * [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11627172)
 * [@hallsofmontezuma](https://wordpress.org/support/users/hallsofmontezuma/) Sure.
   My client site database **wp_option** table does not have **auto increament**
   to **option_id** column. So I have add **auto increament** into **option_id**
   column.
 * Thanks & Regards,
    Hardik Solanki.

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

The topic ‘array_key_exists() expects parameter 2 to be array, boolean given in’
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
 * 2 participants
 * Last reply from: [hardik250186](https://wordpress.org/support/users/hardik250186/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in-2/#post-11627172)
 * Status: resolved