Title: Warning: array_key_exists()
Last modified: August 20, 2016

---

# Warning: array_key_exists()

 *  Resolved [OpenDesigner](https://wordpress.org/support/users/opendesigner/)
 * (@opendesigner)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/)
 * I get the following text inserted at the top of some of my pages…
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/opende8/public_html/applieddesignintelligence.
   com/wp-content/plugins/jetpack/modules/photon.php on line 183
 * Disabling Photon fixes the problem
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

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

 *  [pgale2](https://wordpress.org/support/users/pgale2/)
 * (@pgale2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296334)
 * Same here.. Yes, disabling photon makes the error go away, but it needs to be
   fixed so we can use Photon.
 *  Thread Starter [OpenDesigner](https://wordpress.org/support/users/opendesigner/)
 * (@opendesigner)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296342)
 * I agree. Kind of like fixing a broken car by not driving it 🙂
 *  [vortodox](https://wordpress.org/support/users/vortodox/)
 * (@vortodox)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296359)
 * Same problem on my site.
 * EDIT:
    I have found this solution: [http://wordpress.org/support/topic/error-in-a-post?replies=4](http://wordpress.org/support/topic/error-in-a-post?replies=4)
 *  [pascoedj](https://wordpress.org/support/users/pascoedj/)
 * (@pascoedj)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296361)
 * I had to disable photon as well otherwise posts keep showing the same error message
   as others have said here.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296363)
 * Thanks for the reports.
 * We have fixed this issue, and it’ll be part of the next Jetpack release.

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

The topic ‘Warning: array_key_exists()’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_key_exists-4/#post-3296363)
 * Status: resolved