0

I am getting error on Category Page Magento 2.2.6 ( Element 'block', attribute 'remove': The attribute 'remove' is not allowed)

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 1018

After removing one theme then I am getting this error. Please help me

2
  • are you using any .xml file on category page?
    – Mohit Rane
    Jul 11, 2019 at 4:49
  • I think any catalog_category_view.xml file have the remove attribute in <block>, if you want to remove any block you must need to use <referenceBlock>. Jul 11, 2019 at 11:49

0

Your Answer

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

Browse other questions tagged or ask your own question.