1

Keep getting this error in exception, no solutions to find on the internet:

main.CRITICAL: Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/astout/public_html/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 /home/astout/public_html/vendor/magento/framework/View/Element/UiComponent/Config/DomMerger.php on line 327 at /home/astout/public_html/vendor/magento/framework/App/ErrorHandler.php:61)"} []

This happened since monday, when I updated magento -> 2.4.3

As far as I can remember didn't created or changed any .xml file myself

So how to know which xml file it is

Thank You Alain

asked Dec 15, 2021 at 15:00

1 Answer 1

1

There is an empty .xml file in your project and if you don't know where empty file is and you are using Linux, use this command to get a list of empty files.

open terminal and type (Where /path/to/dest is your actual path like, /var/www/html/magento2)

find

find /path/to/dest -type d -empty

for dir.

and

find

find /path/to/dest -type f -empty

for file.

Rakesh Jesadiya
42.5k19 gold badges135 silver badges186 bronze badges
answered Dec 22, 2021 at 1:47
1
  • Thank you so much, rather is says the following: bash: /path/to/dest: No such file or directory Commented Jan 13, 2022 at 11:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.