# My version: Magento 2.2.3
> # Because it was executed:
composer require "liquid/liquid":"~1.4" composer require "zf1/zend-reflection"
> # result :
1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'display': The attribute 'display' is not allowed. Line: 689 Element 'block', attribute 'display': The attribute 'display' is not allowed. Line: 763 Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'display': The attribute 'display' is not allowed. Line: 689 Element 'block', attribute 'display': The attribute 'display' is not allowed. Line: 763 #0 /Users/jerryxu/wwwroot/cache/test/git/A1012/MC_HK/vendor/magento/framework/Config/Dom.php(115): Magento\Framework\Config\Dom->_initDom('<layout xmlns:x...') #1 /Users/jerryxu/wwwroot/cache/test/git/A1012/MC_HK/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\Config\Dom->__construct('<layout xmlns:x...', Object(Magento\Framework\App\Arguments\ValidationState), Array, NULL, '/Users/jerryxu/...', '%message%\nLine:...') #2 /Users/jerryxu/wwwroot/cache/test/git/A1012/MC_HK/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
> # I uninstall them :
composer remove "liquid/liquid" "zf1/zend-reflection"
The problem has always existed, thank the developers friends for their help
.
Thank you.
Hi @q2341463261171
Kindly refer below link :
https://magento.stackexchange.com/questions/199151/magento-2-2-0-upgrade-error-attribute-type-is-not...
It may help you to resolve issue.
If issue resolve, Please click on 'Kudos' & Accept as Solution!