Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Code error: Liquid error

Code error: Liquid error

Jordan-nw92
Shopify Partner
5 0 0

I think I accidentally deleted some of my coding and am now receiving the following error on my site "Liquid error (layout/theme line 286): Could not find asset snippets/back-button.liquid"

Does anyone know how to fix this? 

Website: lightlybylucy.com

Replies 2 (2)

ZenoPageBuilder
Shopify Partner
1052 203 229

Hello @Jordan-nw92 

Inside Shopify Admin, you can go to Edit theme code, open file theme.liquid, find and remove this code

{% include 'back-button' %}
Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com

Liam
Community Manager
3108 344 910

I'd also check if you have a backup of your theme or if you can revert back to a previous version of the theme, via the code editor.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog