Liquid error (header-minimal line 24): Argument error in tag 'include' - Illegal template name

lagom-mpls
New Member
2 0 1

I see lots of people with this problem but no solution posted. I have the same problem.

Please help.

https://lagom-mpls.com/

nahjames
Tourist
5 0 2

Hi there,

Try going to:

Online Store --> Themes --> Actions --> Edit Code --> Sections (click the drop down menu) --> Select the file header.liquid

Now look for anything that says {% include "header-minimal" %}. You can use ctrl + f on "header-minimal" to find this. This code is what is causing the error.

Just to be safe, you could copy-paste that code and what line it is in. This is just so you can put that code back in just in case it messes up anything when you remove it. Okay, try deleting it and see if it fixes your problem, without causing any other issues.

Hope that helps!
James

0 Likes
Nai1
New Member
1 0 0

Go To Theme - Actions - Edit Code - then go  to header-minimal.liquid

 

Remove Render from line 24 as the below ( Atlantic Theme

 

 


<div class="header-minimal {% if headerCenter %}header-minimal-centered{% endif %}">
{% if headerCenter %}
{%
render 'header-fullnav',
headerLayout: headerLayout,
headerCenter: headerCenter
%}
{%
render 'header-storetitle',
headerLayout: headerLayout,
headerCenter: headerCenter,
logo: logo,
logoWidth: logoWidth
%}
{% else %}
{%
render 'header-storetitle',
headerLayout: headerLayout,
headerCenter: headerCenter,
logo: logo,
logoWidth: logoWidth
%}
{%
render 'header-fullnav',
headerLayout: headerLayout,
headerCenter: headerCenter
%}
{% endif %}

{%
render 'header-tools',
type: 'header-minimal',
layout: headerLayout
logoCentered: headerCenter,
cartIcon: cartIcon
%}
</div>

0 Likes