Why is this weird line of words showing on the bottom of a page on my website?

Solved

Why is this weird line of words showing on the bottom of a page on my website?

ZBK
Excursionist
32 1 4

At the bottom of my 'contact us' page, this line is showing (Liquid error (snippets/page-template-blocks line 12): Could not find asset snippets/page-block-contact-form.liquid) and I can't figure out how to get rid of it. Please help. 

 

Why is it there? 

 

Thank you,

 

Zo

 

https://www.okandco.com.au/pages/contact-us

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
8551 1687 1695

This is an accepted solution.

Hi @ZBK 

So please check on Snippets if page-block-contact-form.liquid is exist. If it does not then you can remove those lines of code to solve the issue 

{% when 'contact-form' %}
{% include 'page-block-contact-form' %}

 

- Helpful? Like and Accept solution to let me know!>
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
8551 1687 1695

Hi @ZBK 

Could you take a screenshot of line 12 in your Online store > Themes > Edit code > Snippets > page-template-blocks.liquid file

- Helpful? Like and Accept solution to let me know!>
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

ZBK
Excursionist
32 1 4

Hi Dan,

 

Thanks for your message. It won't allow me to attach the screen shot, but line 12 of that file is:   {% include 'page-block-contact-form' %}

The whole file's code is:

 

<div class="page-blocks">
{% for block in section.blocks %}
<div {{ block.shopify_attributes }}>
{% case block.type %}

{% when 'contact-form' %}
{% include 'page-block-contact-form' %}

{% when 'custom-html' %}
{% include 'page-block-custom-html' %}

{% when 'background-image-text' %}
{% include 'page-block-background-image-text' %}

{% when 'hero-video' %}
{% include 'page-block-hero-video' %}

{% when 'image-hero' %}
{% include 'page-block-image-hero' %}

{% when 'image-row' %}
{% include 'page-block-image-row' %}

{% when 'rich-text'%}
{% include 'page-block-rich-text' %}

{% when 'text-and-image' %}
{% include 'page-block-text-and-image' %}

{% when 'text-columns' %}
{% include 'page-block-text-columns' %}

 

Thanks for your help.

 

Zo

{% when 'testimonials' %}
{% include 'page-block-testimonials' %}

{% when 'map' %}
{% include 'page-block-map' %}

{% when 'featured-collection' %}
{% include 'page-block-featured-collection' %}

{% when 'fading-images' %}
{% include 'page-block-fading-images' %}

{% endcase %}
</div>
{% endfor %}
</div>

Dan-From-Ryviu
Shopify Partner
8551 1687 1695

This is an accepted solution.

Hi @ZBK 

So please check on Snippets if page-block-contact-form.liquid is exist. If it does not then you can remove those lines of code to solve the issue 

{% when 'contact-form' %}
{% include 'page-block-contact-form' %}

 

- Helpful? Like and Accept solution to let me know!>
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

ZBK
Excursionist
32 1 4

Thank you so much for your help, Dan. This worked perfectly 🙂

Dan-From-Ryviu
Shopify Partner
8551 1687 1695

Happy I could help!

- Helpful? Like and Accept solution to let me know!>
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.