Hey @AlexSuli ,
Welcome to the Shopify Community!
Have you made any recent adjustments to your collections code? The error suggests that there is an error on line 157 of your collection-template.liquid.
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 missing 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.
-
Click Older versions next to the file name
- 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.
- 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!
TIP: We always suggest you first duplicate the theme and work in the duplicate. That way you can always go back to your previous version.

