Title: Illegal string offset warning
Last modified: February 8, 2019

---

# Illegal string offset warning

 *  [kashmiri](https://wordpress.org/support/users/kashmiri/)
 * (@kashmiri)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-warning-7/)
 * Hi,
 * I am experiencing the following issue with the otherwise excellent plugin.
 * Error log:
 *     ```
       [08-Feb-2019 15:58:24 UTC] PHP Warning:  Illegal string offset 'width' in /home/server/public_html/www/wp-includes/media.php on line 988
       [08-Feb-2019 15:58:24 UTC] PHP Warning:  Illegal string offset 'height' in /home/server/public_html/www/wp-includes/media.php on line 989
       ```
   
 * An analysis of what I think is the same problem has been done here:
 * [https://wordpress.org/support/topic/news-illegal-string-offset-warning-for-height-and-width/](https://wordpress.org/support/topic/news-illegal-string-offset-warning-for-height-and-width/)
 * Newest WordPress, PHP 7.2.
 * Any chances this could be addressed in the next release?
 * Thanks,
    k
    -  This topic was modified 7 years, 3 months ago by [kashmiri](https://wordpress.org/support/users/kashmiri/).

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

 *  Plugin Contributor [Daryll Doyle](https://wordpress.org/support/users/enshrined/)
 * (@enshrined)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-warning-7/#post-11206554)
 * Hi [@kashmiri](https://wordpress.org/support/users/kashmiri/),
 * I’m currently working on a fix for this issue and will be pushing it out shortly.
 * Apologies for the delay!
 * Regards,
    Daryll
 *  Plugin Contributor [Daryll Doyle](https://wordpress.org/support/users/enshrined/)
 * (@enshrined)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-warning-7/#post-11206663)
 * New release coming now. Please let me know either way if it fixes your issue,
   it’s working for me so fingers crossed 🤞

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

The topic ‘Illegal string offset warning’ is closed to new replies.

 * ![](https://ps.w.org/safe-svg/assets/icon.svg?rev=2779013)
 * [Safe SVG](https://wordpress.org/plugins/safe-svg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/safe-svg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/safe-svg/)
 * [Active Topics](https://wordpress.org/support/plugin/safe-svg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/safe-svg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/safe-svg/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daryll Doyle](https://wordpress.org/support/users/enshrined/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-warning-7/#post-11206663)
 * Status: not resolved