Fatal Error
-
Hi there, congrats to this great Plugin!
Today I changed my theme’s composer folder structure, and started getting this error in my frontend if safe-svg was active:
Fatal error: Class 'enshrined\svgSanitize\data\AllowedTags' not found in /wp-content/plugins/safe-svg/includes/safe-svg-tags.php on line 4
It seems that this happens if there is a
lib/vendor
dir at the root of the website. changing line 15 in safe-svg.php like this fixes the issue:require __DIR__ . '/lib/vendor/autoload.php';
Would be great if you could address this issue in the next plugin update.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal Error’ is closed to new replies.