Title: Error message from photon.php
Last modified: August 20, 2016

---

# Error message from photon.php

 *  [Paul King](https://wordpress.org/support/users/strider01/)
 * (@strider01)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/)
 * On my blog, on the web browser, in public view, I get a mysterious error from
   a particular post which consists of 4 .PNG graphics:
 * `Warning: (pjk) array_key_exists(): The first argument should be either a string
   or an integer in /afs/athena.mit.edu/user/p/j/pjk/web_scripts/pkj/wp-content/
   plugins/jetpack/modules/photon.php on line 183`
 * That occurs four times at the top of the post, just below the title. Any ideas
   what is causing that error?
 * The web page is located at: [http://pjk.scripts.mit.edu/pkj/](http://pjk.scripts.mit.edu/pkj/)
 * Paul

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

 *  [ccoward](https://wordpress.org/support/users/ccoward/)
 * (@ccoward)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279043)
 * I disabled Photon from the Jetpack settings in the Dashboard to get rid of this
   issue. It was also resizing many of my images in posts to thumbnail size. When
   I disabled Photon the error messages and the resizing problem went away.
 * Jetpack –> Photon –> Learn More –> Deactivate
    (It would be nice if a deactivate
   or disable button was next to each Jetpack feature instead of having to click“
   Learn More” to find it).
 * Also from [another thread](http://wordpress.org/support/topic/photon-breaking-excerpts?replies=6):
 * “This error displays if you have image in your content editor that has width 
   and height defined.
 * Until this if fixed just remove width and height from images in your editor and
   the error is gone.”
 *  [Ollie Ford](https://wordpress.org/support/users/ollie-ford/)
 * (@ollie-ford)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279045)
 * On my site the error occurs when a post starts with a left aligned image, and
   text to it’s right.
 * That’s clearly not the case on your site though, so perhaps it’s just an expansion
   of the reasoning reposted by ccoward. Any kind of image formatting makes it go
   haywire.
 *  Thread Starter [Paul King](https://wordpress.org/support/users/strider01/)
 * (@strider01)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279050)
 * Thank you! Disabling Photon did the trick!
 *  [Ollie Ford](https://wordpress.org/support/users/ollie-ford/)
 * (@ollie-ford)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279051)
 * Why do you sound so pleased?
 * That’s not a solution!
 *  Thread Starter [Paul King](https://wordpress.org/support/users/strider01/)
 * (@strider01)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279053)
 * The simple fact that the problem I discussed is no longer a problem qualifies
   as a enough of a solution for me. I frankly don’t care what Photon does, so long
   as people can see my photos as I intended for people to see them. The purpose
   of photon does not seem terribly tangible to me from its short blurb, at any 
   rate. Is it some kind of caching service?
 *  [Ollie Ford](https://wordpress.org/support/users/ollie-ford/)
 * (@ollie-ford)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279056)
 * It’s a cdn service, or content distribution network.
 * Major sites use them to serve images and videos more quickly, from servers more
   local to the user, but that’s too expensive for anyone using WordPress.
 * By WordPress offering the service Photon themselves, it makes it accessible to
   the likes of us.
 *  [gladman](https://wordpress.org/support/users/gladman/)
 * (@gladman)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279084)
 * thanks worked for me.

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

The topic ‘Error message from photon.php’ is closed to new replies.

## Tags

 * [jetpack error](https://wordpress.org/support/topic-tag/jetpack-error/)
 * [png](https://wordpress.org/support/topic-tag/png/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [gladman](https://wordpress.org/support/users/gladman/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/error-message-from-photonphp/#post-3279084)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
