0

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">
       <arguments>
         <argument name="block_id" xsi:type="string">footers_links</argument>
       </arguments>
    </block>
 </referenceContainer>
1

1 Answer 1

4

The attribute is called class, not type

3
  • 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, privacy policy and cookie policy

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