I'm trying to update Magento 2.1.8 to 2.2.2. After the update I get errors about block attributes on layouts.

2 Answers 2


Try to remove type and src_type (and maybe others) from elements of your layout files.

For example, I had to remove them from thesr layouts:


You need to remove/change some of the attributes (error will tell you what is needed to be removed/changed). Xml validation has been updated with 2.2.x version.

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.