Title: Warning: Illegal string offset
Last modified: April 14, 2019

---

# Warning: Illegal string offset

 *  Resolved [teradeli](https://wordpress.org/support/users/kev1810/)
 * (@kev1810)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-32/)
 * Hi,
 * The plugin doesnt work i have this message
 * Warning: Illegal string offset ‘sizes’ in /responsive-divi-backgrounds/responsive-
   divi-backgrounds.php on line 92
 * Same for :
 * Warning: Illegal string offset ‘large’ in
 * Warning: Illegal string offset ‘width’ in
 * Warning: Illegal string offset ‘sizes’ in
 * Warning: Illegal string offset ‘large’ in
 * Warning: Illegal string offset ‘height’ in
 * Warning: Illegal string offset ‘sizes’ in
 * Warning: Illegal string offset ‘medium_large’ in
 * Warning: Illegal string offset ‘width’ in
 * Warning: Illegal string offset ‘sizes’ in
 * Warning: Illegal string offset ‘medium_large’ in
 * Warning: Illegal string offset ‘height’ in
 * Warning: Illegal string offset ‘sizes’ in
 * Warning: Illegal string offset ‘medium’ in
 * Warning: Illegal string offset ‘width’ in
 * Warning: Illegal string offset ‘sizes’ in
 * Warning: Illegal string offset ‘medium’ in
 * Warning: Illegal string offset ‘height’ in
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-illegal-string-offset-32%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [emandiev](https://wordpress.org/support/users/emandiev/)
 * (@emandiev)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-32/#post-11931687)
 * Thank you for the feedback.
 * I can think of two possible reasons for this issue:
    1. You used an SVG image
   as a background 2. Your WordPress installation doesn’t generate the default image
   sizes
 * I just released a new version of the plugin that properly handles SVG backgrounds
   to avoid the PHP warnings that you mention.
 * If you wish, you could try if this fixes your issue.
    Note that this plugin is
   intended to work on most standard WordPress websites. It may not be suitable 
   for WordPress websites that don’t generate the default image sizes.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/responsive-divi-backgrounds/assets/icon-256x256.png?rev=
   1995359)
 * [Responsive Divi Backgrounds](https://wordpress.org/plugins/responsive-divi-backgrounds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-divi-backgrounds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-divi-backgrounds/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-divi-backgrounds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-divi-backgrounds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-divi-backgrounds/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [emandiev](https://wordpress.org/support/users/emandiev/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-32/#post-11931687)
 * Status: resolved