Title: array_key_exists error
Last modified: August 31, 2016

---

# array_key_exists error

 *  Resolved [kemie](https://wordpress.org/support/users/kemie/)
 * (@kemie)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/)
 * Related to [https://wordpress.org/support/topic/php-warning-keeps-appearing-wrapper-is-disabled?replies=12](https://wordpress.org/support/topic/php-warning-keeps-appearing-wrapper-is-disabled?replies=12),
   but I find that I’m getting this error too:
 * `Warning: array_key_exists(): The first argument should be either a string or
   an integer in /home/xxxx/wp-content/plugins/edd-prevent-eu-checkout/edd-prevent-
   checkout.php on line 354
 * Using the latest version of the plugin, edd, and wordpress. any ideas?
 * [https://wordpress.org/plugins/edd-prevent-eu-checkout/](https://wordpress.org/plugins/edd-prevent-eu-checkout/)

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

 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022284)
 * Can you make a PHPinfo file and check if geoip is loaded there?
 *  Thread Starter [kemie](https://wordpress.org/support/users/kemie/)
 * (@kemie)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022311)
 * I see no mention of it in my php.info
 * is there any workaround to this?
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022326)
 * A workaround would involve me knowing exactly how you’re getting the error 😉
   Which I don’t right now.
 * This is only happening to you or is it happening to everyone?
 * If you go to [http://www.hostip.info/](http://www.hostip.info/) does it give 
   you a country? (Their API is ‘down’ right now, but it should error out to ZZ 
   if that’s the case).
 *  Thread Starter [kemie](https://wordpress.org/support/users/kemie/)
 * (@kemie)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022333)
 * Yup, shows me sweden, which is correct.
 * Thank you for looking into this 🙂
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022347)
 * This is only happening to you or is it happening to everyone?
 * I’m assuming you’re seeing this in your error logs, so you can check the IPs 
   to see who it’s hitting and possibly check their IPs in [http://www.hostip.info/](http://www.hostip.info/)
   too?

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

The topic ‘array_key_exists error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/edd-prevent-eu-checkout_5177c2.svg)
 * [Prevent EU Checkout for Easy Digital Downloads](https://wordpress.org/plugins/edd-prevent-eu-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/edd-prevent-eu-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/edd-prevent-eu-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/edd-prevent-eu-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/edd-prevent-eu-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/edd-prevent-eu-checkout/reviews/)

## Tags

 * [key](https://wordpress.org/support/topic-tag/key/)
 * [string](https://wordpress.org/support/topic-tag/string/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/array_key_exists-error-3/#post-7022347)
 * Status: resolved