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>

1 Answer 1


The attribute is called class, not type

  • I am still obsessed with m1 :D :D Jun 3, 2016 at 6:18
  • can you tell me why it is rendering html show as it is? Jun 3, 2016 at 6:20
  • 1
    I'm not sure if I understand you correctly. Did you enter HTML with the WYSIWYG editor enabled? Jun 3, 2016 at 6:22

Your Answer

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

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