Liquid error “Error in tag ‘section’ - ‘map’ is not a valid section type” on the Contact page in the THALIA theme. Liquid is Shopify’s templating language for themes.
Cause: theme.liquid (and template.liquid) contained {% section ‘map’ %} while no map.liquid existed in the Sections folder, triggering the error.
Fix: remove the invalid section reference or comment it out (e.g., wrap with {% comment %} … {% endcomment %}). The user deleted the references in theme.liquid and template.liquid, and the page worked.
Best practices noted:
Duplicate the theme before editing to preserve a fallback.
Theme updates can override custom edits.
Consider Shopify’s Expert Marketplace for custom development.
Roll back .liquid files to a previous timestamp if needed.
Outcome: issue resolved; Contact page functioning again. Status: closed with no outstanding questions.
Is there anyone that can help with the following error Liquid Error: Liquid error: Error in tag ‘section’ - ‘map’ is not a valid section type ?
Someone suggested me to delete maps liquid because toggling off"show maps" I had a blank page but now it is a disaster because I can’t remove this error from Contacts page.
In theme.liquid you might have {% section ‘map’ %} but there is no map.liquid file under sections in theme.
You have to delete the line {% section ‘map’ %} or comment out like this:
{% comment %}
{% section ‘map’ %}
{% endcomment %}
Important Coding Reminders:
If you make changes to the original code and save the changes, we always suggest you first duplicate the theme and work in the duplicate. That way you can always go back to your previous version.
If you make changes to the original code in a theme and update your theme to a newer version in the future it will override past changes.