• Resolved besweeet

    (@besweeet)


    I was able to install the latest update but cannot activate it.
    Fatal error: Class 'enshrined\svgSanitize\data\AllowedAttributes' not found in \wp-content\plugins\safe-svg\includes\safe-svg-attributes.php on line 4

    Any ideas?

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

    (@enshrined)

    Hi @besweeet,

    That’s an odd one. I’ve just checked the files in the latest release and that file definitely exists. I’d guess that either your hosting is running an old version of PHP that can’t load namespaces (< 5.2).

    Or that there was an error in the update and the files didn’t install correctly.

    Can you try deleting the plugin and re-installing? Hopefully, that will fix the issue for you!

    Regards,
    Daryll

    Thread Starter besweeet

    (@besweeet)

    The PHP version used is 7.2.7. The site is however being hosted on Windows / IIS but there were previously no issues until the latest update.

    I manually installed the update and it activated with no issues.

    There may have been permission issues with /wp-content/plugins folder as it’s been an ongoing problem with IIS.

    • This reply was modified 6 years ago by besweeet.
    Plugin Contributor Daryll Doyle

    (@enshrined)

    Hey @besweeet,

    Thanks for the update!

    It is odd that you only noticed with the latest update as that file hasn’t changed. That said, it would make sense if there was a permissions issue and something wasn’t installed correctly.

    Anyway, I’m glad you managed to solve it with a re-install. Feel free to shout if you get any more issues and I’ll be glad to look into them.

    Cheers,
    Daryll

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: safe-svg-attributes.php on line 4’ is closed to new replies.