Title: PHP Warning: Illegal string offset in class.json-api-endpoints.php
Last modified: August 30, 2016

---

# PHP Warning: Illegal string offset in class.json-api-endpoints.php

 *  Resolved [Cyndy Otty](https://wordpress.org/support/users/ceo/)
 * (@ceo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-in-classjson-api-endpointsphp/)
 * This is the third day in a row I’ve noticed this in my error_log. I’ve seen it
   before, too, but today was the first time I’ve caught multiple entries of this
   same string of errors:
 *     ```
       [16-Aug-2015 02:57:51 UTC] PHP Warning: Illegal string offset 'height' in /(redacted)/plugins/jetpack/class.json-api-endpoints.php on line 1073
       [16-Aug-2015 02:57:51 UTC] PHP Warning: Illegal string offset 'width' in /(redacted)/plugins/jetpack/class.json-api-endpoints.php on line 1074
       [16-Aug-2015 02:57:51 UTC] PHP Warning: Illegal string offset 'sizes' in /(redacted)/plugins/jetpack/class.json-api-endpoints.php on line 1075
       [16-Aug-2015 02:57:51 UTC] PHP Warning: Illegal string offset 'image_meta' in /(redacted)/plugins/jetpack/class.json-api-endpoints.php on line 1080
       ```
   
 * I saw [this was reported before](https://wordpress.org/support/topic/illegal-string-offset-width-in-classjson-api-endpoints),
   too.
 * [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, 9 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-in-classjson-api-endpointsphp/#post-6439998)
 * Yes, that’s indeed a known issue. As I mentioned in the previous thread, we’ve
   started fixing some of these notices in the last version of Jetpack (3.6.1), 
   and more changes will be included in the next version of Jetpack.
 * You can follow our progress or apply the changes to your own version of Jetpack
   here:
    [https://github.com/Automattic/jetpack/pull/2418](https://github.com/Automattic/jetpack/pull/2418)

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Illegal string offset in class.json-api-endpoints.php’ 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

 * [error_log](https://wordpress.org/support/topic-tag/error_log/)
 * [illegal string offset](https://wordpress.org/support/topic-tag/illegal-string-offset/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

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