- Issue created by @leisurman
- 🇮🇳India dineshkumarbollu
Change the lines from
if (@$document->loadXML($xml) === FALSE) { $document->loadXML("<root>$xml</root>"); }
to
if (!empty($xml) && @$document->loadXML($xml) === FALSE) { $document->loadXML("<root>$xml</root>"); }
Unable to create patch because of 4.1.10 branch not in Git.
- 🇮🇳India dineshkumarbollu
Hi @ leisurman
can you create patch for this i am unable to create patch in 4.1.10 branch, currently the branch is not available on Git.
- 🇮🇳India Mohd Sahzad
I have created patch for this issue DOMDocument::loadXML(): Argument #1 ($source) must not be empty
- Status changed to Needs review
10 months ago 10:52am 23 August 2023 - last update
10 months ago 31 pass - Status changed to Closed: duplicate
10 months ago 8:05am 30 August 2023 - 🇩🇪Germany mkalkbrenner 🇩🇪
The Bug has been fixed more than two years ago:
#3188815: Empty XML config files cause crash in PHP 8 →4.1.x is not supported anymore. You should update the module!