Php 8 error
-
Hi,
When i enable php 8 i get a error when uploading a svg file.
”Image post-processing failed because the server was busy or does not have enough resources. Uploading a smaller image can help. Recommended maximum size is 2500 pixels.
”
When i switch back to php 7.4 it works again.WordPress caught this error.
Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 249 van het bestand /www/fotobooth_592/public/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/src/Sanitizer.php. Foutmelding: Uncaught Error: Call to undefined function enshrined\svgSanitize\libxml_disable_entity_loader() in /www/fotobooth_592/public/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/src/Sanitizer.php:249
Stack trace:
#0 /www/fotobooth_592/public/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/src/Sanitizer.php(201): enshrined\svgSanitize\Sanitizer->setUpBefore()
#1 /www/fotobooth_592/public/wp-content/plugins/safe-svg/safe-svg.php(142): enshrined\svgSanitize\Sanitizer->sanitize(‘
The topic ‘Php 8 error’ is closed to new replies.