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 217

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
Shopify Staff
2731 298 769

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