cancel
Showing results for 
Search instead for 
Did you mean: 

main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in

main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in

i see a warning in exception.log

 

main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in /vendor/magento/framework/View/Element/UiComponent/Config/DomMerger.php on line 327 {"exception":"[object] (Exception(code: 0): Warning: DOMDocument::loadXML(): Empty string supplied as input in /vendor/magento/framework/View/Element/UiComponent/Config/DomMerger.php on line 327 at /vendor/magento/framework/App/ErrorHandler.php:61)"} []

 

have anybody face it before? what this warning is about?

3 REPLIES 3

Re: main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in

@pantelisgr 

There might have been an empty XML file due to that, it's showing such an issue.

Please find and remove such a file.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in

@Sanjay Jethva 

thank you Sanjay, but what is the way to find out this empty xml?

Re: main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in

@pantelisgr 

You can find the blank file using the below commands:

find /path/to/dest -type f -empty
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.