Please how do I resolve this bug

"Exception #0 (LogicException): Could not create an acl object: Invalid Document Element 'resource': The attribute 'title' is required but missing. Line: 12"


1 Answer 1


From the exception, it seems you've invalid xml in acl.xml file. Title is missing. See below code for reference where title is added in resource. :

<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
            <resource id="Magento_Backend::admin">
                <resource id="Vendor_Module::some_id" title="Some Title" sortOrder="51">
                    <resource id="Vendor_Module::other_id" title="Something" sortOrder="10">
                        <resource id="Vendor_Module::save" title="Something" translate="title" sortOrder="10" />
                        <resource id="Vendor_Module::delete" title="Something" translate="title" sortOrder="20" />
                <resource id="Magento_Backend::stores">
                    <resource id="Magento_Backend::stores_settings">
                        <resource id="Magento_Config::config">
                            <resource id="Vendor_Module::bar_config" title="Something" translate="title"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.