Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kburnett01

    (@kburnett01)

    Thanks for the tip… it pointed me in the right direction. I tried php8-dom and it gave me an error message indicating I should install the php8-xml library, so thank you.

    I was getting a similar error message using the multi-file uploader. When I tried using the single file uploader, the follow error message was revealed…

    Fatal error: Uncaught Error: Class "DOMDocument" not found in /var/www/valleypl/wp-content/plugins/safe-svg/vendor/enshrined/svg-sanitize/src/Sanitizer.php:94 Stack trace: 
    #0 /var/www/valleypl/wp-content/plugins/safe-svg/vendor/enshrined/svg-sanitize/src/Sanitizer.php(198): enshrined\svgSanitize\Sanitizer->resetInternal() 
    #1 /var/www/valleypl/wp-content/plugins/safe-svg/safe-svg.php(180): enshrined\svgSanitize\Sanitizer->sanitize() 
    #2 /var/www/valleypl/wp-content/plugins/safe-svg/safe-svg.php(145): safe_svg->sanitize() 
    #3 /var/www/valleypl/wp-includes/class-wp-hook.php(307): safe_svg->check_for_svg() 
    #4 /var/www/valleypl/wp-includes/plugin.php(191): WP_Hook->apply_filters() 
    #5 /var/www/valleypl/wp-admin/includes/file.php(802): apply_filters() 
    #6 /var/www/valleypl/wp-admin/includes/file.php(1074): _wp_handle_upload() 
    #7 /var/www/valleypl/wp-admin/includes/media.php(303): wp_handle_upload() 
    #8 /var/www/valleypl/wp-admin/media-new.php(33): media_handle_upload() 
    #9 {main} thrown in /var/www/valleypl/wp-content/plugins/safe-svg/vendor/enshrined/svg-sanitize/src/Sanitizer.php on line 94

    Have you tried the single file uploader?

    I honestly don’t think this issue you’re having is specifically a WordPress issue, because I’m already running WordPress 6.0.1 on another server along with Safe SVG, yet that server isn’t having issues, so really, it has to be something else.

Viewing 2 replies - 1 through 2 (of 2 total)