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

How to say when an application is taking the half of your screen on a computer

How do you make your own symbol when Detexify fails?

Why is it that I can sometimes guess the next note?

Calculate sum of polynomial roots

Why does the Sun have different day lengths, but not the gas giants?

Multiplicative persistence

Why should universal income be universal?

How to cover method return statement in Apex Class?

Is there a RAID 0 Equivalent for RAM?

Does the Linux kernel need a file system to run?

Quasinilpotent , non-compact operators

Probability that THHT occurs in a sequence of 10 coin tosses

System.QueryException unexpected token

Open a doc from terminal, but not by its name

Why is so much work done on numerical verification of the Riemann Hypothesis?

What are the balance implications behind making invisible things auto-hide?

Does Doodling or Improvising on the Piano Have Any Benefits?

Can disgust be a key component of horror?

Is this toilet slogan correct usage of the English language?

Why does a simple loop result in ASYNC_NETWORK_IO waits?

This is why we puzzle

How can mimic phobia be cured?

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

Temporarily disable WLAN internet access for children, but allow it for adults



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 7 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 7 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 7 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 7 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

                    Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

                    Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                    How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2