SimpleXMLElement::__construct(): #18742
HankaReimann
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
after an actualization, I have this issue in debug.log on my site.
PHP Warning: SimpleXMLElement::__construct(): ^ in /home/sites/21b/0/0e7887e5dc/instantni_webovky/wp-content/plugins/elementor/core/files/file-types/svg.php on line 190
[25-May-2022 11:58:13 UTC] PHP Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : internal error: Huge input lookup in /home/sites/21b/0/0e7887e5dc/instantni_webovky/wp-content/plugins/elementor/core/files/file-types/svg.php on line 190
Code from line 189-197 in svg.php:
try {
$svg = new \SimpleXMLElement( $svg );
} catch ( \Exception $e ) {
return $attachment_data;
}
Can anyone help me figure this out?
Thx.
Beta Was this translation helpful? Give feedback.
All reactions