Could not create an acl object: Invalid Document in magento2.3.0
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
In magento 2.3.0 for new module is throws an exception like below image url
http://prntscr.com/n7rpgb
my acl.xml file like this
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
admin magento2.3.0
add a comment |
In magento 2.3.0 for new module is throws an exception like below image url
http://prntscr.com/n7rpgb
my acl.xml file like this
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
admin magento2.3.0
add a comment |
In magento 2.3.0 for new module is throws an exception like below image url
http://prntscr.com/n7rpgb
my acl.xml file like this
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
admin magento2.3.0
In magento 2.3.0 for new module is throws an exception like below image url
http://prntscr.com/n7rpgb
my acl.xml file like this
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Adminhtml::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
admin magento2.3.0
admin magento2.3.0
edited 2 days ago
Anshu Mishra
5,64652662
5,64652662
asked 2 days ago
Ram SampathiRam Sampathi
314214
314214
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Try changing your code as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
</resource>
</resources>
</acl>
</config>
add a comment |
It says the resource title is missing in your acl.xml
file. check sample below:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller"
translate="title" sortOrder="900"/>
</resource>
</resources>
</acl>
</config>
EDIT: you should use Magento_Backend::admin
instead of Magento_Adminhtml::admin
in your resource id after resources.
add a comment |
Replace your acl.xml with the below code
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
ISSUE :
The issue with resource id, that's invalid,
It should be Magento_Backend instead of Magento_AdminHtml
add a comment |
Just Change :-
From :-
<resource id="Magento_Adminhtml::admin">
To :-
<resource id="Magento_Backend::admin">
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268868%2fcould-not-create-an-acl-object-invalid-document-in-magento2-3-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try changing your code as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
</resource>
</resources>
</acl>
</config>
add a comment |
Try changing your code as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
</resource>
</resources>
</acl>
</config>
add a comment |
Try changing your code as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
</resource>
</resources>
</acl>
</config>
Try changing your code as follows
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
</resource>
</resources>
</acl>
</config>
answered 2 days ago
Anshu MishraAnshu Mishra
5,64652662
5,64652662
add a comment |
add a comment |
It says the resource title is missing in your acl.xml
file. check sample below:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller"
translate="title" sortOrder="900"/>
</resource>
</resources>
</acl>
</config>
EDIT: you should use Magento_Backend::admin
instead of Magento_Adminhtml::admin
in your resource id after resources.
add a comment |
It says the resource title is missing in your acl.xml
file. check sample below:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller"
translate="title" sortOrder="900"/>
</resource>
</resources>
</acl>
</config>
EDIT: you should use Magento_Backend::admin
instead of Magento_Adminhtml::admin
in your resource id after resources.
add a comment |
It says the resource title is missing in your acl.xml
file. check sample below:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller"
translate="title" sortOrder="900"/>
</resource>
</resources>
</acl>
</config>
EDIT: you should use Magento_Backend::admin
instead of Magento_Adminhtml::admin
in your resource id after resources.
It says the resource title is missing in your acl.xml
file. check sample below:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller"
translate="title" sortOrder="900"/>
</resource>
</resources>
</acl>
</config>
EDIT: you should use Magento_Backend::admin
instead of Magento_Adminhtml::admin
in your resource id after resources.
edited 2 days ago
answered 2 days ago
magefmsmagefms
2,4562426
2,4562426
add a comment |
add a comment |
Replace your acl.xml with the below code
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
ISSUE :
The issue with resource id, that's invalid,
It should be Magento_Backend instead of Magento_AdminHtml
add a comment |
Replace your acl.xml with the below code
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
ISSUE :
The issue with resource id, that's invalid,
It should be Magento_Backend instead of Magento_AdminHtml
add a comment |
Replace your acl.xml with the below code
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
ISSUE :
The issue with resource id, that's invalid,
It should be Magento_Backend instead of Magento_AdminHtml
Replace your acl.xml with the below code
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Ram_Seller::seller" title="Seller" sortOrder="100"/>
<!--AddMenuAcl-->
</resource>
</resources>
</acl>
</config>
ISSUE :
The issue with resource id, that's invalid,
It should be Magento_Backend instead of Magento_AdminHtml
edited 2 days ago
answered 2 days ago
Prathap GunasekaranPrathap Gunasekaran
1,7261618
1,7261618
add a comment |
add a comment |
Just Change :-
From :-
<resource id="Magento_Adminhtml::admin">
To :-
<resource id="Magento_Backend::admin">
add a comment |
Just Change :-
From :-
<resource id="Magento_Adminhtml::admin">
To :-
<resource id="Magento_Backend::admin">
add a comment |
Just Change :-
From :-
<resource id="Magento_Adminhtml::admin">
To :-
<resource id="Magento_Backend::admin">
Just Change :-
From :-
<resource id="Magento_Adminhtml::admin">
To :-
<resource id="Magento_Backend::admin">
answered 2 days ago
Ronak RathodRonak Rathod
1,125213
1,125213
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268868%2fcould-not-create-an-acl-object-invalid-document-in-magento2-3-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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