• Hi. Looks like the problem is back.
    I am using wordpress 522
    Safe SVG 194

    Do you know what could be causing this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @delaitec,

    I’m sorry to hear that you’re having issues.

    I’ve looked into the error and it seems to be coming from the fact that some of your SVGs are missing the height and width from the metadata.

    Did you upload these quite a while ago? If so, can I ask that you try to re-upload one and replace old for new? I have a feeling this will fix it. I will also try and find the time to look for a backported fix for this issue.

    Cheers,
    Daryll

    Thread Starter delaitec

    (@delaitec)

    Daryll, Now that you say that something occurred to me.
    I installed 2 plugins to test, “Imagify” and Easy Image Optimizer By Exactly WWW. Then I uninstalled it.
    I do not remember exactly when the error began. but maybe some of them did it.

    what do you think?

    At your suggestion, initially I reinserted the image and it worked, but after changing and saving something in style.css that had nothing to do with the images the error came back. “I don’t know if the modification in css was related” I believe it has something to do with these 2 plugins I mentioned.

    I will make a suggestion. It would be possible to save the metadata of the images so that you can restore all or some with one click in case the error occurs. If these plugins are related to the error, could put an alert warning of conflicts.

    Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @delaitec,

    I’m not too sure if these plugins are to blame for the issue, as I’m not familiar with them, unfortunately. They could potentially have caused it if they tried to regenerate the image, but I can’t be 100% sure.

    The modification wouldn’t have been CSS related, but it’s odd that it disappeared and came back after making an edit. Maybe there’s another plugin on your site that’s messing with images?

    Unfortunately, saving the metadata for restore isn’t an option for this plugin. It would add far too much weight to the database in duplicated metadata and therefore would slow everyone’s sites down.

    As we’re not seeing this on a huge amount of sites, I have a feeling it’s something within your WordPress stack that’s causing the issue. Can you try uploading a fresh SVG as before, but disable all plugins other than Safe SVG before you do so. Keep them disabled and refresh the page a few times. If you don’t see the issue, then the error is being caused by another plugin.

    In that case, enable them one by one and refresh the page with the errors until you see it again, at that point, you should be able to narrow down the plugin in question.

    Cheers,
    Daryll

    Thread Starter delaitec

    (@delaitec)

    So this site is a backup, I have another exactly the same and the only difference between them were these 2 plugins that I installed and rrmovi. Both sites have the plugin “Imsaniti” and are enabled, but the error does not occur on the original site, only in this backup. so it shouldn’t be this plugin. I will do some tests and warn the owners of the other plugins if I confirm that they are

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SVG Illegal string offset warning IS BACK’ is closed to new replies.