0

Element 'body': Character content other than whitespace is not allowed because the content type is 'element-only'. Line: 806

3
  • since you have copy paste code in xml so there is white space on tags so just remove all space before tag starts – Ansar Husain Dec 19 '19 at 7:40
  • i didn't copy any code i simply write code for static block which is present in admin panel – sufyan khalid Dec 19 '19 at 7:42
  • can u please share your code in question? – Naresh Rupareliya Dec 19 '19 at 9:07
1

create new static block

for e.g new static block id is : 22

    <block class="Magento\Cms\Block\Block" name="contact">
       <arguments>
           <argument name="block_id" xsi:type="string">22</argument>
       </arguments>
   </block>

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.