Warning: DOMDocument::loadXML(): Empty string supplied as inputMagento2: Warning: DOMDocument::loadXML():...

What is Tony Stark injecting into himself in Iron Man 3?

Would an aboleth's Phantasmal Force lair action be affected by Counterspell, Dispel Magic, and/or Slow?

Why is there an extra space when I type "ls" in the Desktop directory?

Confusion about Complex Continued Fraction

What's the 'present simple' form of the word "нашла́" in 3rd person singular female?

Which situations would cause a company to ground or recall a aircraft series?

Is this Paypal Github SDK reference really a dangerous site?

Determining optimum shared school bus route to a single destination from multiple origin points

Proving a statement about real numbers

Which classes are needed to have access to every spell in the PHB?

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

What materials can be used to make a humanoid skin warm?

Is a piano played in the same way as a harmonium?

Is it possible to avoid unpacking when merging Association?

Was it really inappropriate to write a pull request for the company I interviewed with?

Are all players supposed to be able to see each others' character sheets?

Does "Until when" sound natural for native speakers?

Source permutation

Why aren't there more Gauls like Obelix?

Is it possible to find 2014 distinct positive integers whose sum is divisible by each of them?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

How can I manipulate the output of Information?

Virginia employer terminated employee and wants signing bonus returned



Warning: DOMDocument::loadXML(): Empty string supplied as input


Magento2: Warning: DOMDocument::loadXML(): Extra content at the end of the document in EntityWarning: DOMDocument::schemaValidate(): Invalid Schema inmagentoframeworkConfigDom.php on line 290Add multiple sections under same tab magento 2.0Magento 2 Model resource and collection- error array_values() expects parameter 1 to be arrayMagento 2 Configuration Issue for custome moduleCreate new tab config in admin magento2 error sorting?Invalid argument supplied for foreach() magento version 2.1.3Magento 2 : Error when i click the admin->configurationDOM can't read right the opening Tag of a XML fileIn Magento 2.1.1,Warning: Invalid argument supplied for foreach() in Product.php.













5
















Warning: DOMDocument::loadXML(): Empty string supplied as input in C:xampphtdocsMagento2vendormagentomodule-configModelConfigStructureReader.php on line 132











share|improve this question

























  • Check system.log file in log folder.

    – Payal Patel
    Aug 30 '16 at 11:49











  • I am not finding any issue there! :(

    – supriya mishra
    Aug 30 '16 at 11:52






  • 1





    check your module xml file, you have something missing inside xml file. or you have to forgot close tag

    – Rakesh Jesadiya
    Aug 30 '16 at 12:02













  • your issue is related to your xml file mismatch tag or some missing node

    – Rakesh Jesadiya
    Aug 30 '16 at 12:46
















5
















Warning: DOMDocument::loadXML(): Empty string supplied as input in C:xampphtdocsMagento2vendormagentomodule-configModelConfigStructureReader.php on line 132











share|improve this question

























  • Check system.log file in log folder.

    – Payal Patel
    Aug 30 '16 at 11:49











  • I am not finding any issue there! :(

    – supriya mishra
    Aug 30 '16 at 11:52






  • 1





    check your module xml file, you have something missing inside xml file. or you have to forgot close tag

    – Rakesh Jesadiya
    Aug 30 '16 at 12:02













  • your issue is related to your xml file mismatch tag or some missing node

    – Rakesh Jesadiya
    Aug 30 '16 at 12:46














5












5








5









Warning: DOMDocument::loadXML(): Empty string supplied as input in C:xampphtdocsMagento2vendormagentomodule-configModelConfigStructureReader.php on line 132











share|improve this question

















Warning: DOMDocument::loadXML(): Empty string supplied as input in C:xampphtdocsMagento2vendormagentomodule-configModelConfigStructureReader.php on line 132








magento2 error






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 '16 at 5:57









Bilal Usean

5,00923689




5,00923689










asked Aug 30 '16 at 11:45









supriya mishrasupriya mishra

356623




356623













  • Check system.log file in log folder.

    – Payal Patel
    Aug 30 '16 at 11:49











  • I am not finding any issue there! :(

    – supriya mishra
    Aug 30 '16 at 11:52






  • 1





    check your module xml file, you have something missing inside xml file. or you have to forgot close tag

    – Rakesh Jesadiya
    Aug 30 '16 at 12:02













  • your issue is related to your xml file mismatch tag or some missing node

    – Rakesh Jesadiya
    Aug 30 '16 at 12:46



















  • Check system.log file in log folder.

    – Payal Patel
    Aug 30 '16 at 11:49











  • I am not finding any issue there! :(

    – supriya mishra
    Aug 30 '16 at 11:52






  • 1





    check your module xml file, you have something missing inside xml file. or you have to forgot close tag

    – Rakesh Jesadiya
    Aug 30 '16 at 12:02













  • your issue is related to your xml file mismatch tag or some missing node

    – Rakesh Jesadiya
    Aug 30 '16 at 12:46

















Check system.log file in log folder.

– Payal Patel
Aug 30 '16 at 11:49





Check system.log file in log folder.

– Payal Patel
Aug 30 '16 at 11:49













I am not finding any issue there! :(

– supriya mishra
Aug 30 '16 at 11:52





I am not finding any issue there! :(

– supriya mishra
Aug 30 '16 at 11:52




1




1





check your module xml file, you have something missing inside xml file. or you have to forgot close tag

– Rakesh Jesadiya
Aug 30 '16 at 12:02







check your module xml file, you have something missing inside xml file. or you have to forgot close tag

– Rakesh Jesadiya
Aug 30 '16 at 12:02















your issue is related to your xml file mismatch tag or some missing node

– Rakesh Jesadiya
Aug 30 '16 at 12:46





your issue is related to your xml file mismatch tag or some missing node

– Rakesh Jesadiya
Aug 30 '16 at 12:46










3 Answers
3






active

oldest

votes


















9














I experienced the same kind of issues. I fixed that issue by remove spacing at start of the xml file.



don't give any space at start of the xml file

<?xml version="1.0"?>
...................
..............


it should be



<?xml version="1.0"?>
...................
..............


if it is not solve your problem, show your module.xml






share|improve this answer


























  • It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

    – Jacco Amersfoort
    Oct 3 '17 at 13:18











  • my routes.xml was creating issues. Thanks !

    – Kumar A.
    Feb 14 '18 at 10:48



















2














I found this problem when learning to build modules. Don't pre configuring the files and folder with empty .xml files, be sure to only create an .xml file with correct content and save it. Don't just leave them empty with a view of populating later as magento's error handling will just fall-over.






share|improve this answer

































    0














    i just encountered this problem and it took me a couple hours for it to finally become enabled. I found that by deleting excess files from the demo file structure example and using the bare minimum for the purposes of getting things going worked for me.



    like so:



    app/code/Vendor/Test/etc/module.xml

    Test/composer.json

    Test/registration.php


    While trying to work this out. I tweaked many things. In my last run before it finally worked. I made sure I changed the autoload in the composer to read "PSR-4" to read nametype(a module in this case)and the name.



    like so



    "Gary\ModuleTest"


    I also got rid of a line space in between



    <?php

    MagentoFrameworkComponentComponentRegistrar::register(
    MagentoFrameworkComponentComponentRegistrar::MODULE,


    in my registration.php



    like so:



    <?php
    MagentoFrameworkComponentComponentRegistrar::register(
    MagentoFrameworkComponentComponentRegistrar::MODULE,


    after that i enabled it and upgraded using php bin/magento setup:upgrade.






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "479"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f133815%2fwarning-domdocumentloadxml-empty-string-supplied-as-input%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      9














      I experienced the same kind of issues. I fixed that issue by remove spacing at start of the xml file.



      don't give any space at start of the xml file

      <?xml version="1.0"?>
      ...................
      ..............


      it should be



      <?xml version="1.0"?>
      ...................
      ..............


      if it is not solve your problem, show your module.xml






      share|improve this answer


























      • It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

        – Jacco Amersfoort
        Oct 3 '17 at 13:18











      • my routes.xml was creating issues. Thanks !

        – Kumar A.
        Feb 14 '18 at 10:48
















      9














      I experienced the same kind of issues. I fixed that issue by remove spacing at start of the xml file.



      don't give any space at start of the xml file

      <?xml version="1.0"?>
      ...................
      ..............


      it should be



      <?xml version="1.0"?>
      ...................
      ..............


      if it is not solve your problem, show your module.xml






      share|improve this answer


























      • It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

        – Jacco Amersfoort
        Oct 3 '17 at 13:18











      • my routes.xml was creating issues. Thanks !

        – Kumar A.
        Feb 14 '18 at 10:48














      9












      9








      9







      I experienced the same kind of issues. I fixed that issue by remove spacing at start of the xml file.



      don't give any space at start of the xml file

      <?xml version="1.0"?>
      ...................
      ..............


      it should be



      <?xml version="1.0"?>
      ...................
      ..............


      if it is not solve your problem, show your module.xml






      share|improve this answer















      I experienced the same kind of issues. I fixed that issue by remove spacing at start of the xml file.



      don't give any space at start of the xml file

      <?xml version="1.0"?>
      ...................
      ..............


      it should be



      <?xml version="1.0"?>
      ...................
      ..............


      if it is not solve your problem, show your module.xml







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Aug 30 '16 at 12:49

























      answered Aug 30 '16 at 12:40









      Bilal UseanBilal Usean

      5,00923689




      5,00923689













      • It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

        – Jacco Amersfoort
        Oct 3 '17 at 13:18











      • my routes.xml was creating issues. Thanks !

        – Kumar A.
        Feb 14 '18 at 10:48



















      • It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

        – Jacco Amersfoort
        Oct 3 '17 at 13:18











      • my routes.xml was creating issues. Thanks !

        – Kumar A.
        Feb 14 '18 at 10:48

















      It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

      – Jacco Amersfoort
      Oct 3 '17 at 13:18





      It might also be an empty XML file somewhere. I deleted an XML file but the file was put back by some merge but without the contents. Both cases are invalid XML which throws erorrs.

      – Jacco Amersfoort
      Oct 3 '17 at 13:18













      my routes.xml was creating issues. Thanks !

      – Kumar A.
      Feb 14 '18 at 10:48





      my routes.xml was creating issues. Thanks !

      – Kumar A.
      Feb 14 '18 at 10:48













      2














      I found this problem when learning to build modules. Don't pre configuring the files and folder with empty .xml files, be sure to only create an .xml file with correct content and save it. Don't just leave them empty with a view of populating later as magento's error handling will just fall-over.






      share|improve this answer






























        2














        I found this problem when learning to build modules. Don't pre configuring the files and folder with empty .xml files, be sure to only create an .xml file with correct content and save it. Don't just leave them empty with a view of populating later as magento's error handling will just fall-over.






        share|improve this answer




























          2












          2








          2







          I found this problem when learning to build modules. Don't pre configuring the files and folder with empty .xml files, be sure to only create an .xml file with correct content and save it. Don't just leave them empty with a view of populating later as magento's error handling will just fall-over.






          share|improve this answer















          I found this problem when learning to build modules. Don't pre configuring the files and folder with empty .xml files, be sure to only create an .xml file with correct content and save it. Don't just leave them empty with a view of populating later as magento's error handling will just fall-over.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 26 mins ago









          Teja Bhagavan Kollepara

          2,98641947




          2,98641947










          answered Oct 18 '18 at 17:52









          DanielDaniel

          211




          211























              0














              i just encountered this problem and it took me a couple hours for it to finally become enabled. I found that by deleting excess files from the demo file structure example and using the bare minimum for the purposes of getting things going worked for me.



              like so:



              app/code/Vendor/Test/etc/module.xml

              Test/composer.json

              Test/registration.php


              While trying to work this out. I tweaked many things. In my last run before it finally worked. I made sure I changed the autoload in the composer to read "PSR-4" to read nametype(a module in this case)and the name.



              like so



              "Gary\ModuleTest"


              I also got rid of a line space in between



              <?php

              MagentoFrameworkComponentComponentRegistrar::register(
              MagentoFrameworkComponentComponentRegistrar::MODULE,


              in my registration.php



              like so:



              <?php
              MagentoFrameworkComponentComponentRegistrar::register(
              MagentoFrameworkComponentComponentRegistrar::MODULE,


              after that i enabled it and upgraded using php bin/magento setup:upgrade.






              share|improve this answer






























                0














                i just encountered this problem and it took me a couple hours for it to finally become enabled. I found that by deleting excess files from the demo file structure example and using the bare minimum for the purposes of getting things going worked for me.



                like so:



                app/code/Vendor/Test/etc/module.xml

                Test/composer.json

                Test/registration.php


                While trying to work this out. I tweaked many things. In my last run before it finally worked. I made sure I changed the autoload in the composer to read "PSR-4" to read nametype(a module in this case)and the name.



                like so



                "Gary\ModuleTest"


                I also got rid of a line space in between



                <?php

                MagentoFrameworkComponentComponentRegistrar::register(
                MagentoFrameworkComponentComponentRegistrar::MODULE,


                in my registration.php



                like so:



                <?php
                MagentoFrameworkComponentComponentRegistrar::register(
                MagentoFrameworkComponentComponentRegistrar::MODULE,


                after that i enabled it and upgraded using php bin/magento setup:upgrade.






                share|improve this answer




























                  0












                  0








                  0







                  i just encountered this problem and it took me a couple hours for it to finally become enabled. I found that by deleting excess files from the demo file structure example and using the bare minimum for the purposes of getting things going worked for me.



                  like so:



                  app/code/Vendor/Test/etc/module.xml

                  Test/composer.json

                  Test/registration.php


                  While trying to work this out. I tweaked many things. In my last run before it finally worked. I made sure I changed the autoload in the composer to read "PSR-4" to read nametype(a module in this case)and the name.



                  like so



                  "Gary\ModuleTest"


                  I also got rid of a line space in between



                  <?php

                  MagentoFrameworkComponentComponentRegistrar::register(
                  MagentoFrameworkComponentComponentRegistrar::MODULE,


                  in my registration.php



                  like so:



                  <?php
                  MagentoFrameworkComponentComponentRegistrar::register(
                  MagentoFrameworkComponentComponentRegistrar::MODULE,


                  after that i enabled it and upgraded using php bin/magento setup:upgrade.






                  share|improve this answer















                  i just encountered this problem and it took me a couple hours for it to finally become enabled. I found that by deleting excess files from the demo file structure example and using the bare minimum for the purposes of getting things going worked for me.



                  like so:



                  app/code/Vendor/Test/etc/module.xml

                  Test/composer.json

                  Test/registration.php


                  While trying to work this out. I tweaked many things. In my last run before it finally worked. I made sure I changed the autoload in the composer to read "PSR-4" to read nametype(a module in this case)and the name.



                  like so



                  "Gary\ModuleTest"


                  I also got rid of a line space in between



                  <?php

                  MagentoFrameworkComponentComponentRegistrar::register(
                  MagentoFrameworkComponentComponentRegistrar::MODULE,


                  in my registration.php



                  like so:



                  <?php
                  MagentoFrameworkComponentComponentRegistrar::register(
                  MagentoFrameworkComponentComponentRegistrar::MODULE,


                  after that i enabled it and upgraded using php bin/magento setup:upgrade.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 15 '18 at 5:26









                  Teja Bhagavan Kollepara

                  2,98641947




                  2,98641947










                  answered Mar 7 '18 at 23:33









                  alexalex

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f133815%2fwarning-domdocumentloadxml-empty-string-supplied-as-input%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                      How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                      夢乃愛華...