Blog post Liquid error

JoelleARB
New Member
2 0 0

Hi, 

 

 

I've been trying to post a few blogs that built on shogun but every time I set them live it comes up with this message: "Liquid error: Error in tag 'section' - 'article-template' is not a valid section type" on the live page.

Can someone please help with this?

 

 

- Joelle 

Replies 3 (3)
Moira
Shopify Staff
491 72 81

Hey, @JoelleARB

This error is due to the file article-template.liquid not being found in your theme. Not sure if you have done any modifications to your theme files but it looks like it may have been deleted or there is a misspelling on the file name. 

Shopify knows that errors are just human nature, so we have provided a way to undo changes made to a code file in your theme over time. Rather than trying to re-implement your product code, my first suggestion is to try rolling back your .liquid files individually to a time and date before you made the changes.

  • From your Shopify admin, go to Online Store > Themes.

  • Find the theme you want to edit, and then click Actions > Edit code.

  • Click on one of the files under the relevant folder in which you want to undo changes (Sections > article-template.liquid).

  • Click Older versions next to the file name

21-10-4f7cd-5bw8x

  • Click the drop-down menu to select an older version. Clicking a date stamp will roll the code back to that saved version. If you remember when you made the changes, you can return to the state of the file before your changes.

21-10-3umra-1c9af

  • If you remember when you made the changes, you can return to the state of the file before your changes. Finally, don't forget to hit that green save button!

  • Here is another tutorial where a Shopify Expert has provided a solution to solve similar liquid errors.

Although the method applied here is effective in undoing your changes, the best way to protect yourself is to always back up your theme before making any changes.

On the topic of Blogs, have you heard about the Shopify Blog? It is such a good resource for you and your business no matter where you are with your store! I've got some great recommendations below:

The 39-Point Store Trust Checklist

  • Work through a checklist to make sure your store is trusted by potential customers.

  • Look at the "nice to haves" vs "must-haves" in your store.

  • Do you have essential information for your customers to view, like policies?

9 Timeless Ways to Increase Conversions

  • Product Page Tune-Up, 9 ways to help you to increase sales and revenue.

Moira | Social Care @ 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 the Shopify Help Center or the Shopify Blog

JoelleARB
New Member
2 0 0

Hello, 

 

Thank you for your help

I've reset the blog to the original version and it is still showing up with the same error? Is there someone I could get in touch with more about this issue 

 

Joelle 

Moira
Shopify Staff
491 72 81

Thanks for giving that a go @JoelleARB!

We’ll need to access your account securely with our live authentication methods in order to resolve this issue. While we’re not able to provide account-specific support via the Shopify Community at this time, we’d be happy to continue assisting you through live chat, email, or callback.

Please visit https://bit.ly/3cJkx8V and log in to your account to create a support request.

All the best, 

Moira | Social Care @ 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 the Shopify Help Center or the Shopify Blog