Support » Plugin: Responsive Divi Backgrounds » Warning: Illegal string offset

  • Resolved teradeli

    (@kev1810)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author emandiev

    (@emandiev)

    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)
  • You must be logged in to reply to this topic.