Title: Illegal string offset &#039;width&#039; in class.json-api-endpoints
Last modified: August 30, 2016

---

# Illegal string offset 'width' in class.json-api-endpoints

 *  Resolved [Sopra27](https://wordpress.org/support/users/sopra27/)
 * (@sopra27)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-classjson-api-endpoints/)
 * Hello everybody,
 * I found a error in Jetpack especially in the tool api json. My error log report
   that:
 *     ```
       [10-Jul-2015 07:11:43 UTC] PHP Warning:  Illegal string offset 'height' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1090
       [10-Jul-2015 07:11:43 UTC] PHP Warning:  Illegal string offset 'width' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1091
       [10-Jul-2015 07:14:48 UTC] PHP Warning:  Illegal string offset 'height' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1090
       [10-Jul-2015 07:14:48 UTC] PHP Warning:  Illegal string offset 'width' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1091
       [10-Jul-2015 07:14:50 UTC] PHP Warning:  Illegal string offset 'height' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1090
       [10-Jul-2015 07:14:50 UTC] PHP Warning:  Illegal string offset 'width' in /***/**USER**/public_html/**folder**/wp-content/plugins/jetpack/class.json-api-endpoints.php on line 1091
       ```
   
 * How solve it ?
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 10 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-classjson-api-endpoints/#post-6314587)
 * Thanks for the report! We’ll get this fixed in the next Jetpack release. You 
   can follow our progress here:
    [https://github.com/Automattic/jetpack/pull/2393](https://github.com/Automattic/jetpack/pull/2393)

Viewing 1 replies (of 1 total)

The topic ‘Illegal string offset 'width' in class.json-api-endpoints’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/illegal-string-offset-width-in-classjson-api-endpoints/#post-6314587)
 * Status: resolved