- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2021
12:40 AM
12-28-2021
12:40 AM
How can i resolve Empty string supplied as input in DOMDocument::loadXML() in magento 2?
when I compile my code I have this kind of error accurse
Warning: DOMDocument::loadXML(): Empty string supplied as input in /mnt/data/home/cloudwaysapps.com/ssucdkafzj/public_html/setup/src/Magento/Setup/Module/Di /Code/Scanner/ServiceDataAttributesScanner.php on line 24![]()
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2021
05:48 PM
12-29-2021
05:48 PM
Re: How can i resolve Empty string supplied as input in DOMDocument::loadXML() in magento 2?
I experienced the same kind of issues. I fixed that issue by removing spacing at the start of the XML file.
don't give any space at the start of the XML file
<?xml version="1.0"?>
...................
it should be
<?xml version="1.0"?>
...................
If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool