FROM CACHE - en_header

accidentally erase header section

ShesFocus
New Member
1 0 1

accidentally may have deleted some code and my header has disappeared and is replaced with this message 'Liquid error: Error in tag 'section' - 'header' is not a valid section type' 

please someone help me!!!!

Replies 2 (2)
Nick_Marketing
Shopify Partner
1417 318 416

Locate the file where you have made the changes and see if you can revert to an older version of the file (before modifications).  For reference, see the screenshot below.

2021-11-26 01_03_15.png



Nick | Ecommerce & Marketing Technology Consultant | Toronto, CANADA
- For consulting work availability, please send me a Private Message or submit a ✍️Contact Form.
- For FREE Shopify Tutorials, Subscribe to my YouTube channel (▶️ Ecommerce TV).
Robert_Kanaan
Shopify Partner
41 7 15

Hello @ShesFocus ,

 

Based on that error, it's likely that your theme's header.liquid file was either deleted or modified in some way that needs adjusting. You'll need to restore the file. 

 

If header.liquid is still present, try restoring an older version from the code editor.

 

If it's been accidently deleted, you'll need to restore the file. If you don't have a theme backup to restore from, you'll need to use a stock version of the theme your using.

 

Sincerely,

Robert

Robert Kanaan | Shopify Developer | robert[@]govedia.com