I am trying to upgrade a website from Magento 2.1.8 to 2.2.0
I have configured composer for 2.2.0 and also updated it with command line.
Now when I run magento setup:upgrade
its halt on running schema and showing following note: pfa for more info.
Running schema recurring…Invalid Document Element 'resource': The
attribute 'title' is required but missing. Line: 12Element 'resource': The attribute 'title' is required but missing.
Line: 13
Best Answer
My best guess is that you have a
<resource>
-tag in anyetc/acl.xml
-file with a missingtitle
-attribute. Usually this would throw the issue that you could not create or edit a new role. I'm guessing that they created an extra check in 2.2 to detect this more earlier.Better check the
acl.xml
-files of your own custom extensions and/or those of 3rd party extensions. Please note: thetitle
-attribute is only required for new<resource>
-nodes. So if your adding a new resource-node to an existing resource node (provided by another module) there is no need to add thetitle
-attribute to those. For example: