Could not create an acl object: Invalid XML in fileJs file is not removed from xmlMagento 2 Create custom XML fileWhat's your way of debugging xml related exceptions?Invalid XML in file view.xmlOn log in to Magento 2.1 admin I get (LogicException): Could not create an acl objectElement 'css', attribute 'order': The attribute 'order' is not allowedCould not create an acl object: Role '9' - how to resolve this?Could not create an acl object: Invalid XMLElement 'referenceContainer', attribute 'after': The attribute 'after' is not allowedInvalid template file: 'Magento_Catalog

User Story breakdown - Technical Task + User Feature

System.QueryException unexpected token

What if you are holding an Iron Flask with a demon inside and walk into Antimagic Field?

Lowest total scrabble score

Probability that THHT occurs in a sequence of 10 coin tosses

How much character growth crosses the line into breaking the character

What is going on with 'gets(stdin)' on the site coderbyte?

Why Shazam when there is already Superman?

How to cover method return statement in Apex Class?

PTIJ: Haman's bad computer

Terse Method to Swap Lowest for Highest?

creating a ":KeepCursor" command

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Does Doodling or Improvising on the Piano Have Any Benefits?

Angel of Condemnation - Exile creature with second ability

Quoting Keynes in a lecture

Why does a simple loop result in ASYNC_NETWORK_IO waits?

How do apertures which seem too large to physically fit work?

Why did the EU agree to delay the Brexit deadline?

Can a Canadian Travel to the USA twice, less than 180 days each time?

Non-trope happy ending?

What are the advantages of simplicial model categories over non-simplicial ones?

How could a planet have erratic days?

Is there a way to get `mathscr' with lower case letters in pdfLaTeX?



Could not create an acl object: Invalid XML in file


Js file is not removed from xmlMagento 2 Create custom XML fileWhat's your way of debugging xml related exceptions?Invalid XML in file view.xmlOn log in to Magento 2.1 admin I get (LogicException): Could not create an acl objectElement 'css', attribute 'order': The attribute 'order' is not allowedCould not create an acl object: Role '9' - how to resolve this?Could not create an acl object: Invalid XMLElement 'referenceContainer', attribute 'after': The attribute 'after' is not allowedInvalid template file: 'Magento_Catalog













0















Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error



Error Message I am getting




1 exception(s): Exception #0 (LogicException): Could not create an acl
object: Invalid XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
is not allowed. Line: 2



Exception #0 (LogicException): Could not create an acl object: Invalid
XML in file
/home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
'config', attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
The attribute
'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
is not allowed. Line: 2




The Code is as follows



<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<!--AddMenuAcl-->
<resource id="Pmage_Unit::unit" title="Pmage">
<resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
</resource>
</resource>
</resources>
</acl>
</config>









share|improve this question
















bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error



    Error Message I am getting




    1 exception(s): Exception #0 (LogicException): Could not create an acl
    object: Invalid XML in file
    /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
    'config', attribute
    'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
    The attribute
    'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
    is not allowed. Line: 2



    Exception #0 (LogicException): Could not create an acl object: Invalid
    XML in file
    /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
    'config', attribute
    'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
    The attribute
    'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
    is not allowed. Line: 2




    The Code is as follows



    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
    <acl>
    <resources>
    <resource id="Magento_Adminhtml::admin">
    <!--AddMenuAcl-->
    <resource id="Pmage_Unit::unit" title="Pmage">
    <resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
    </resource>
    </resource>
    </resources>
    </acl>
    </config>









    share|improve this question
















    bumped to the homepage by Community 3 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error



      Error Message I am getting




      1 exception(s): Exception #0 (LogicException): Could not create an acl
      object: Invalid XML in file
      /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
      'config', attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
      The attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
      is not allowed. Line: 2



      Exception #0 (LogicException): Could not create an acl object: Invalid
      XML in file
      /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
      'config', attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
      The attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
      is not allowed. Line: 2




      The Code is as follows



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
      <acl>
      <resources>
      <resource id="Magento_Adminhtml::admin">
      <!--AddMenuAcl-->
      <resource id="Pmage_Unit::unit" title="Pmage">
      <resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
      </resource>
      </resource>
      </resources>
      </acl>
      </config>









      share|improve this question
















      Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error



      Error Message I am getting




      1 exception(s): Exception #0 (LogicException): Could not create an acl
      object: Invalid XML in file
      /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
      'config', attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
      The attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
      is not allowed. Line: 2



      Exception #0 (LogicException): Could not create an acl object: Invalid
      XML in file
      /home/web/public_html/app/code/Pmage/Matrixprice/etc/acl.xml: Element
      'config', attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation':
      The attribute
      'http://www.w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation'
      is not allowed. Line: 2




      The Code is as follows



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
      <acl>
      <resources>
      <resource id="Magento_Adminhtml::admin">
      <!--AddMenuAcl-->
      <resource id="Pmage_Unit::unit" title="Pmage">
      <resource id="Pmage_Matrixprice::manage_matrix" title="Manage Matrix" />
      </resource>
      </resource>
      </resources>
      </acl>
      </config>






      magento2.2 xml acl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 5 '18 at 9:05









      sv3n

      9,87562455




      9,87562455










      asked Oct 20 '17 at 12:29









      Sohaib KhanSohaib Khan

      307319




      307319





      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.



          Notice the extra dash (-) between Schema and instance.






          share|improve this answer























          • That didnt do it. I think

            – Sohaib Khan
            Oct 20 '17 at 12:55











          • 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

            – Sohaib Khan
            Oct 20 '17 at 12:55












          • clear the cache. As I can see, nothing changed.

            – Marius
            Oct 20 '17 at 13:01











          • Did that too,, nothing changed same thing.

            – Sohaib Khan
            Oct 20 '17 at 13:05


















          0














          This is incorrect: <resource id="Magento_Adminhtml::admin">



          Should be: <resource id="Magento_Backend::admin">






          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%2f197966%2fcould-not-create-an-acl-object-invalid-xml-in-file%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.



            Notice the extra dash (-) between Schema and instance.






            share|improve this answer























            • That didnt do it. I think

              – Sohaib Khan
              Oct 20 '17 at 12:55











            • 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

              – Sohaib Khan
              Oct 20 '17 at 12:55












            • clear the cache. As I can see, nothing changed.

              – Marius
              Oct 20 '17 at 13:01











            • Did that too,, nothing changed same thing.

              – Sohaib Khan
              Oct 20 '17 at 13:05















            0














            Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.



            Notice the extra dash (-) between Schema and instance.






            share|improve this answer























            • That didnt do it. I think

              – Sohaib Khan
              Oct 20 '17 at 12:55











            • 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

              – Sohaib Khan
              Oct 20 '17 at 12:55












            • clear the cache. As I can see, nothing changed.

              – Marius
              Oct 20 '17 at 13:01











            • Did that too,, nothing changed same thing.

              – Sohaib Khan
              Oct 20 '17 at 13:05













            0












            0








            0







            Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.



            Notice the extra dash (-) between Schema and instance.






            share|improve this answer













            Replace http://www.w3.org/2001/XMLSchemainstance with http://www.w3.org/2001/XMLSchema-instance.



            Notice the extra dash (-) between Schema and instance.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 20 '17 at 12:33









            MariusMarius

            167k28319685




            167k28319685












            • That didnt do it. I think

              – Sohaib Khan
              Oct 20 '17 at 12:55











            • 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

              – Sohaib Khan
              Oct 20 '17 at 12:55












            • clear the cache. As I can see, nothing changed.

              – Marius
              Oct 20 '17 at 13:01











            • Did that too,, nothing changed same thing.

              – Sohaib Khan
              Oct 20 '17 at 13:05

















            • That didnt do it. I think

              – Sohaib Khan
              Oct 20 '17 at 12:55











            • 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

              – Sohaib Khan
              Oct 20 '17 at 12:55












            • clear the cache. As I can see, nothing changed.

              – Marius
              Oct 20 '17 at 13:01











            • Did that too,, nothing changed same thing.

              – Sohaib Khan
              Oct 20 '17 at 13:05
















            That didnt do it. I think

            – Sohaib Khan
            Oct 20 '17 at 12:55





            That didnt do it. I think

            – Sohaib Khan
            Oct 20 '17 at 12:55













            1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

            – Sohaib Khan
            Oct 20 '17 at 12:55






            1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid XML in file /home/web/public_html/app/code/Pmage/Unit/etc/acl.xml: Element 'config', attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation': The attribute 'w3.org/2001/XMLSchemainstancenoNamespaceSchemaLocation' is not allowed. Line: 2

            – Sohaib Khan
            Oct 20 '17 at 12:55














            clear the cache. As I can see, nothing changed.

            – Marius
            Oct 20 '17 at 13:01





            clear the cache. As I can see, nothing changed.

            – Marius
            Oct 20 '17 at 13:01













            Did that too,, nothing changed same thing.

            – Sohaib Khan
            Oct 20 '17 at 13:05





            Did that too,, nothing changed same thing.

            – Sohaib Khan
            Oct 20 '17 at 13:05













            0














            This is incorrect: <resource id="Magento_Adminhtml::admin">



            Should be: <resource id="Magento_Backend::admin">






            share|improve this answer



























              0














              This is incorrect: <resource id="Magento_Adminhtml::admin">



              Should be: <resource id="Magento_Backend::admin">






              share|improve this answer

























                0












                0








                0







                This is incorrect: <resource id="Magento_Adminhtml::admin">



                Should be: <resource id="Magento_Backend::admin">






                share|improve this answer













                This is incorrect: <resource id="Magento_Adminhtml::admin">



                Should be: <resource id="Magento_Backend::admin">







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 22 '18 at 17:20









                dmooredmoore

                111




                111



























                    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%2f197966%2fcould-not-create-an-acl-object-invalid-xml-in-file%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

                    Jet Time Laivasto | Lähteet | Aiheesta muualla | NavigointivalikkoJet Time - The CompanyThe CompanyManagementJet Time aloittaa lauantaina Suomi-rekisterissä olevalla Boeing 737 -koneellaJettime Finland Fleet Details and HistoryJettime Fleet Details and HistoryRegional Jet OÜ takes over ATR production for SASJet Time Returns To Its Core BusinessYhtiön kotisivutlaajentamalla

                    Olympian arkeologinen museo Sisällysluettelo Historia ja rakennus | Kokoelmat | Lähteet | Aiheesta muualla | Navigointivalikko37°38′36″N, 21°37′46″EInfobox OKArchaeological Museum of Olympia: HistoryArchaeological Museum of Olympia: DescriptionΜουσείο Ιστορίας των Ολυμπιακών Αγώνων της Αρχαιότητας: ΙστορικόArchaeological Museum of Olympia

                    Äpy Sisällysluettelo Äpyt kautta historian | Esimerkkejä Äpy-huumorista | Katso myös | Kirjallisuutta | Aiheesta muualla | Navigointivalikkowww.äpy.fi