Title: Illegal string offset &#039;width&#039; in 3.8.2
Last modified: August 30, 2016

---

# Illegal string offset 'width' in 3.8.2

 *  [Scott West](https://wordpress.org/support/users/scottwuk/)
 * (@scottwuk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/)
 * Having just updated jetpack i am getting the following error:
 * Warning: Illegal string offset ‘width’ in /wp-content/plugins/jetpack/class.photon.
   php
 * On lines 466, 473 474
 * This error combination appears multiple ties on the page, and stops the remainder
   of the page from loading
    Disabling photon removes these errors.
 * I have WP_DEBUG set to false in wp-config.
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/#post-6863920)
 * Could you let me know if this appears on pages where you’ve inserted a single
   image, or a gallery?
 * Could you also let me know how you uploaded those images in the first place? 
   Did you use a third-party plugin, or do you use an image plugin on your site?
 * Thanks!
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/#post-6863922)
 * Could you also try to apply the patch [here](https://github.com/Automattic/jetpack/pull/3186/files),
   and let me know if it helps?
 *  Thread Starter [Scott West](https://wordpress.org/support/users/scottwuk/)
 * (@scottwuk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/#post-6864061)
 * Hi Jeremy,
 * I all the images were inserted individually (but might sometimes be called in
   by theme elements) not using jetpacks gallery.
 * All images are uploaded using the built in wordless media manager even if used
   by he theme or a plugin.
 * Applying the patch (by saying a copy of the original file and replacing its content
   with the linked version) did remove the error but photon is now requesting an
   image that is 1px x 1px with the string:
    ?fit=305%2C1 when what it should be?
   fit=305%2C171
 * I have now replaced the image with an updated one due to updated content and 
   that new image works fine, so it might just have been bad meta data on that image,
   interesting that it worked before the update and not after though.
 * Another image that wasn’t loading is now lading fine.
 * Thank you for your assistance.
 *  [Ryan C.](https://wordpress.org/support/users/ryanc413/)
 * (@ryanc413)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/#post-6864065)
 * Thanks for the update, Scott! I’ll relay that information to the team, and we’ll
   let you know as soon as we have more info from our side.

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

The topic ‘Illegal string offset 'width' in 3.8.2’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ryan C.](https://wordpress.org/support/users/ryanc413/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-382/#post-6864065)
 * Status: not resolved