• Resolved deltafactory

    (@deltafactory)


    I am seeing a number of PHP warnings when opening the media library in Divi. Example:

    [02-Oct-2023 15:57:42 UTC] PHP Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Start tag expected, '<' not found in [...]/wp-content/plugins/addons-for-divi/includes/extensions/unfiltered-file-uploads/ext-svg-handler.php on line 44

    The reason appears to be that the $svg variable is assigned $attachment->ID in line 37 which is an integer and not the contents of the SVG.

Viewing 1 replies (of 1 total)
  • Plugin Support M. Asif Hossain

    (@asifsiam97)

    Hello, @deltafactory

    Ensure that the SVG files you’re trying to upload to the media library are valid and well-formed SVG files. Sometimes, SVG files can have syntax errors or issues that prevent them from being properly parsed.

    In the meantime, we must forward your report to our developer team for further investigation and resolution. Our team will investigate the issue; we hope you give us some time to debug.

    Best Regards,

    Asif, Divi Torque

Viewing 1 replies (of 1 total)
  • The topic ‘XML parse error due to non XML content in SVG support’ is closed to new replies.