【发布时间】:2020-08-05 13:23:01
【问题描述】:
我刚刚将我们的 magento2.3.3 模式从默认模式更改为开发者模式
bin/magento deploy:mode:set developer
我收到错误消息,如何解决,谁能帮帮我。?
1 exception(s):
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'container', attribute 'cacheable': The attribute 'cacheable' is not allowed.
Line: 738
Element 'block', attribute 'type': The attribute 'type' is not allowed.
Line: 890
Element 'referenceContainer', attribute 'after': The attribute 'after' is not allowed.
Line: 938
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'container', attribute 'cacheable': The attribute 'cacheable' is not allowed.
Line: 738
Element 'block', attribute 'type': The attribute 'type' is not allowed.
Line: 890
Element 'referenceContainer', attribute 'after': The attribute 'after' is not allowed.
Line: 938
<pre>#1 Magento\Framework\Config\Dom->__construct('<layout xmlns:xs...', &Magento\Framework\App\Arguments\ValidationState#000000007ffc9088000000006ff6f5f3#, array(), NULL, '/srv/users/serve...', '%message%\nLine: ...') called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:116]
</pre>
【问题讨论】:
标签: magento magento2 magento-2.3