Title: Started getting Photon error
Last modified: August 30, 2016

---

# Started getting Photon error

 *  [BeccaKeyes](https://wordpress.org/support/users/beccakeyes/)
 * (@beccakeyes)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/started-getting-photon-error/)
 * I started getting the error below on my site today after adding new portfolio
   item at [http://bayshoremg.com/portfolio-items/1558/](http://bayshoremg.com/portfolio-items/1558/)
   and the images are taking a while to load. I regenerated all of my thumbnails
   to no avail.
 *     ```
       Warning: Illegal string offset 'width' in /home/baysho10/public_html/wp-content/plugins/jetpack/class.photon.php on line 473
   
       Warning: Illegal string offset 'height' in /home/baysho10/public_html/wp-content/plugins/jetpack/class.photon.php on line 474
       ```
   
 * It is showing up at the top of the page and where my content is. If I turn off
   photon it goes away.
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  Plugin Contributor [Ryan C.](https://wordpress.org/support/users/ryanc413/)
 * (@ryanc413)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885809)
 * Hi there, and thanks for the report! Could you let me know how you uploaded those
   images to your site? Did you use a third-party plugin, or do you use an image
   plugin on your site?
 * I believe this is related to a recent issue, which you can read more about here:
   
   [https://github.com/Automattic/jetpack/pull/3186](https://github.com/Automattic/jetpack/pull/3186)
 * We’re still in the process if investigating this, but if you’re comfortable editing
   some code, you can try to apply the patch here to see if it helps:
    [https://github.com/Automattic/jetpack/pull/3186/files](https://github.com/Automattic/jetpack/pull/3186/files)
 *  Thread Starter [BeccaKeyes](https://wordpress.org/support/users/beccakeyes/)
 * (@beccakeyes)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885838)
 * Hi Ryan, I uploaded the images via the WP media library. I didn’t get any errors
   while doing so. I just redid the post and deleted the original and I haven’t 
   had any problems since but I still have photon turned off.
 * Thanks for the help! Hope we get this fixed soon!
 *  Plugin Contributor [Ryan C.](https://wordpress.org/support/users/ryanc413/)
 * (@ryanc413)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885847)
 * Thanks for the additional info!
 *  [dvieira](https://wordpress.org/support/users/dvieira/)
 * (@dvieira)
 * [10 years ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885993)
 * Hello, I am receiving a similar error with Photon enabled.
 * “Uncaught ReferenceError: width is not defined” on devicepx-jetpack.js?ver=201630:
   12
 * The error count goes up by ‘1’ every second.
 * This only happens on pages where I have the Isotope filtering library pulled 
   in. When I deactivate Photon, the error goes away. All images were uploaded through
   the Media Library. The error does not affect the front end display. And I did
   not get this error when the site was being developed.
 * Here is the page in question: [https://chicweed.design/our-favorites/](https://chicweed.design/our-favorites/)
 * Any insight would be greatly appreciated. Thanks!
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885994)
 * [@dvieira](https://wordpress.org/support/users/dvieira/) Could you please start
   your own thread, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome)?
   
   [http://wordpress.org/support/plugin/jetpack#postform](http://wordpress.org/support/plugin/jetpack#postform)
 * I would also recommend switching to a different theme, if the Isotope library
   is used by yuor theme, to make sure the problem is a conflict between that use
   of the library and Photon.
 * Thank you!
 *  [dvieira](https://wordpress.org/support/users/dvieira/)
 * (@dvieira)
 * [10 years ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885995)
 * Hi Jeremy, my apologies, I will start a new thread.

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

The topic ‘Started getting Photon error’ 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/)

 * 6 replies
 * 4 participants
 * Last reply from: [dvieira](https://wordpress.org/support/users/dvieira/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/started-getting-photon-error/#post-6885995)
 * Status: not resolved