XML parse error due to non XML content in SVG support
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘XML parse error due to non XML content in SVG support’ is closed to new replies.