0
  • I got an error after installing cart2Quote free
  • (Magento\Framework\Config\Dom\ValidationException): Element 'referenceBlock', attribute 'class': The attribute 'class' is not allowed.
  • i am using magento 2.2.7 Please help! enter image description here
0

There are only two allowed attributes for reference blocks.

remove

display

Search for referenceBlock in your cart2quote module and remove the class attribute from referenceBlock element.

Flush your Magento cache php bin/magento c:f and check.

7
  • thank your answer! i has remove all class attribute from referenceBlock, but it not working for me. Sep 16 '20 at 6:23
  • make sure to flush all cache and then check. Sep 16 '20 at 6:24
  • yes. i has flush all cache but it not working. Sep 16 '20 at 6:27
  • this is my mistake. I mistook referenceBlock vs referenceContainer Sep 16 '20 at 6:42
  • glad it helps you. please accept and upvote the answer if helpful. Sep 16 '20 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.