Anybody experience with this error? I see nothing in the logs that helps me.
Exception #0 (LogicException): Could not create an acl object: Invalid
Document Element ‘resource’: The attribute ‘title’ is required but
missing. Line: 50 /generated/code/Magento/Framework/Acl/Builder/Proxy.php(95): MagentoFrameworkAclBuilder->getAcl()
3
Answers
I have also experienced this issue some time ago. Actually, the problem is one of your custom or third party module contains
<resource>
tag inacl.xml
inetc
folder file and thetitle
attribute is missing over there, which is the cause of this exception. Therefore, I would suggest you to checkacl.xml
files and iftitle
attribute is missing in any of your module then add atitle
to<resource>
tag something like this:File
etc/acl.xml
in one of your module:You can also check this Magento 2.2.0 Invalid Document Element ‘resource’: The attribute ‘title’ is required but missing from where I found the solution to my problem.
In Addition to verifying the title against the most inner resource tag, also verify that you have not added extra
id="Custome_Module::config"
in any of youracl.xml
or some spelling mistake etc.I had the same issue because I had disabled all MSI modules.
Try to enable them and check if this fixed your issue.