Title: HELP ! Problem function.array-key-exists
Last modified: August 20, 2016

---

# HELP ! Problem function.array-key-exists

 *  [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/)
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in ……./wp-content/plugins/jetpack/modules/photon.
   php on line 183
 * Can anyone help me with this issue ?
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

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

 *  [htrex](https://wordpress.org/support/users/htrex/)
 * (@htrex)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273713)
 * After the update from 2.0.2 to 2.0.4 I’m seeing this error message appearing 
   on the front end of my site too!
 * Robert, waiting for a proper solution from automattic, you can place an ‘@’ character
   in front of array_key_exists statement to suppress the warning.
 * After the modification line 183 of /wp-content/plugins/jetpack/modules/photon.
   php should be:
 *     ```
       } elseif ( isset( $size ) && @array_key_exists( $size, $image_sizes ) && isset( $image_sizes[ $size ]['crop'] ) ) {
       ```
   
 *  Thread Starter [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273717)
 * The design of my page it’s not ok, even if i write this “@” … i still see in 
   place of each article picture this message.
 * Thanks anyway htrex .
 *  Thread Starter [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273718)
 * strange, first time i didn’t see any change , now works ! thanks
 *  Thread Starter [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273719)
 * Have something to do with resize, because now i have all pictures from the articles
   reduced to 150×150 automatically
 *  [John Selnæs](https://wordpress.org/support/users/johnselnaes/)
 * (@johnselnaes)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273720)
 * Deleted Jetpack 2.0.4 and reinstalled Jetpack 2.0.4 solved the problem for me.
 *  [htrex](https://wordpress.org/support/users/htrex/)
 * (@htrex)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273721)
 * John, that probably seemed to solve the problem because deleting and reinstalling
   Jetpack also resets it’s settings and Photon is disabled by default.
    If you 
   reenable that option you should see the problem again, or at least that’s what
   happens on my site…
 * Please Automattic check this problem!
 *  [OzManic](https://wordpress.org/support/users/ozmanic/)
 * (@ozmanic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273723)
 * I’ll ad my voice to those who are having this problem.
 * [http://datascopic.net/about/oz-du-soleil/](http://datascopic.net/about/oz-du-soleil/)
 *  [OzManic](https://wordpress.org/support/users/ozmanic/)
 * (@ozmanic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273724)
 * htrex, what does it mean to Automattic check this problem?
    I’m reluctant to 
   delete Jetpack, reinstall and have all of the setting reset.
 *  [OzManic](https://wordpress.org/support/users/ozmanic/)
 * (@ozmanic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273725)
 * Ok. I deactivated Photon and things are looking ok again.
 *  [Mazzastick](https://wordpress.org/support/users/mazzastick/)
 * (@mazzastick)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273735)
 * That solved the problem for me too OzManic.

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

The topic ‘HELP ! Problem function.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/)

## Tags

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

 * 10 replies
 * 5 participants
 * Last reply from: [Mazzastick](https://wordpress.org/support/users/mazzastick/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/help-problem-functionarray-key-exists/#post-3273735)
 * Status: not resolved