I am adding static block in footer and getting this error.

Invalid block type. where is my mistake.

<referenceContainer name="footer-container">  
    <block type="Magento\Cms\Block\Block" name="footerslinks">
         <argument name="block_id" xsi:type="string">footers_links</argument>

The attribute is called class, not type

| improve this answer | |
  • I am still obsessed with m1 :D :D – Qaisar Satti Jun 3 '16 at 6:18
  • can you tell me why it is rendering html show as it is? – Qaisar Satti Jun 3 '16 at 6:20
  • 1
    I'm not sure if I understand you correctly. Did you enter HTML with the WYSIWYG editor enabled? – Fabian Schmengler Jun 3 '16 at 6:22

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.