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>
4

The attribute is called class, not type

  • 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
  • got it that was the problem. thanks – Qaisar Satti Jun 3 '16 at 6:23

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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