Title: array_key_exists() expects parameter 2 to be array, boolean given in
Last modified: August 30, 2016

---

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

 *  Resolved [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * (@icryptic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/)
 * Can you please fix your plugin. It gives a php warning and since its a MS network,
   the Apache error log fills up quick and causes issues.
 * PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given
   in /home2/psmutheme/public_html/wp-content/plugins/add-meta-tags/amt-utils.php
   on line 1845
 * [https://wordpress.org/plugins/add-meta-tags/](https://wordpress.org/plugins/add-meta-tags/)

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

 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295119)
 * Hi,
 * Can you try saving the plugin settings once and see if the problem persists?
 * Thanks for your feedback. I’ve filed a bug report in my bug tracker.
 * Kind Regards,
    George
 *  Thread Starter [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * (@icryptic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295203)
 * It doesn’t show after saving. However I have a Multisite network, and you really
   cant hit save on 1000+ sites. So the problem would need to be ultimately fixed
   or at least silence it in php like so @ just so the error logs arent over taken
   by the plugin. I can fix it from my end, but then what happens on next update,
   I end up having to fix the plugin every time from here out. So thats why I am
   bringing it to you. Thanks for your response btw.
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295209)
 * Hi,
 * This is definitely going to be fixed in the next release. I fully understand 
   the situation with the maintenance of 1000+ web sites and I’m sorry for this 
   inconvenience.
 * Finding time for this issue is really difficult for me right now, but I’ll try
   to make a new release ASAP.
 * Kind Regards,
    George
 *  Thread Starter [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * (@icryptic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295211)
 * Thanks
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295222)
 * Hi, the soonest the new release can be rolled out is Monday. I could make a quick
   bugfix release from my tab, but I’d rather fully test the plugin before making
   the release. I’ll be able to do so on Monday.
 * I hope this is OK with you. Thanks for your understanding.
 * George
 *  Thread Starter [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * (@icryptic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295224)
 * Perfect George. Enjoy your evening
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295323)
 * Hi, the problem has been fixed, but I also had to investigate another rather 
   complicated issue with the twitter cards which required more time.
 * I’ll be releasing 2.8.15 shortly.
 * George
 *  Thread Starter [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * (@icryptic)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295335)
 * Good deal. Thank you

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

The topic ‘array_key_exists() expects parameter 2 to be array, boolean given in’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-meta-tags.svg)
 * [Add Meta Tags](https://wordpress.org/plugins/add-meta-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-meta-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-meta-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/add-meta-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-meta-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-meta-tags/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [TheServerGuy](https://wordpress.org/support/users/icryptic/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/array_key_exists-expects-parameter-2-to-be-array-boolean-given-in/#post-6295335)
 * Status: resolved