Coding Error

v0l3
Tourist
22 0 1

Hi all,

 

this has  appeared  at the bottom of my theme and I cannot move it

 

"Liquid error: Argument error in tag 'include' - Illegal template name "

 

 

 

nothing is working  and it is really ruining the aesthetic of my store

 

any help would be really appriciated.

 

thankyou

Replies 20 (20)
Qualitycheck
Shopify Expert
1449 114 234

Hello,
Hope you are doing well.

 

can you share a store url

v0l3
Tourist
22 0 1

yes

crystalroses.co.uk

 

Thanks

Jason
Shopify Expert
11119 218 2267

A little hard to tell you where to look given we can only see the output and not the Liquid behind the scenes. Given that it's at the bottom of the page you could guess that it's somewhere in a footer file or in the theme.liquid file itself.

 

This error would most likely be from your (or someone) not closing the quotes around the include property.

So you've got something like this

{% include 'something %}

instead of 

{% include 'something' %}

That's a pretty bold guess. You may end up having to share some code if you remain stuck.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
v0l3
Tourist
22 0 1

Hello ,  I have looked through both of those  for any errors ,

 

If i private message the password would you be able take a look ,

 

Thanks

v0l3
Tourist
22 0 1

theme.liquid

{% capture the_snippet_content %}{% include 'carthook-checkout' %}{% endcapture %} {% unless the_snippet_content contains "Liquid error" %} {% include 'carthook-checkout' %} {% endunless %}
<!-- Warning: Do not remove. This is used for CartHook Checkout Replacement -->

 

this is in multiple folders.  

 

how much would it be to hire an expert?

Qualitycheck
Shopify Expert
1449 114 234

Hi @v0l3,

 

Do you still need help with the changes?

Please feel free to reach out at infoperennialsolution@gmail.com for any further changes.

TomGGC
Tourist
16 0 1

We are having the same issue - liquid error at the bottom of the home page. Any idea how to fix it?

v0l3
Tourist
22 0 1

Hello ,

 

No I had to pay for a developer for a fix.

 

Have you had any luck?

TomGGC
Tourist
16 0 1
Hi,

I have had about 5 "experts" trying to fix it without success.

Did the dev tell you how he/she fixed the problem?

If so I'd appreciate if you could share.


v0l3
Tourist
22 0 1

unfourtunately I dont have the code patch for it.  

 

also I think the  error is caused by some code being left behind from some deleted apps , 

 

Maybe try going on your store and hiring a developer - expect to pay 20 - 50 usd .

Qualitycheck
Shopify Expert
1449 114 234

Hi @v0l3,

 

I can certainly try to fix the issue as I have done that similar kind before.

You can pay later once it is fixed.

Could you please reach out for further discussion and take it ahead? If so you can reach me via email at infoperennialsolution@gmail.com

Thanks!

Jason
Shopify Expert
11119 218 2267

@TomGGC wrote:
Hi,

I have had about 5 "experts" trying to fix it without success.

Did the dev tell you how he/she fixed the problem?

If so I'd appreciate if you could share.



If you're looking for help yourself consider posting some extra details, link to the shop, exact error, etc. This is not a difficult thing to solve and is something you can do yourself with a little bit of digging. Extra context helps the forum members give you some tips.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
TomGGC
Tourist
16 0 1

Apparently one ATC event happens when ATC button is pressed and another when the cart drawer shows (right after adding item to cart). After disabling the cart drawer it works as it should (one event). Can you please help? 

Smeelah
Navigator
323 1 90

This thread solved my issue...

 

I got the error from cutting and pasting

 

{% include ‘recently-viewed’ %}

 

but it was fixed when I replaced the code below. They look the same to me but the top one didn't work...so maybe a character code(?) issue.

 

{% include 'recently-viewed' %}


 

Okivo
New Member
1 0 1

I had the same problem. And i found the solution. If you use the app "Sticky Cart by Uplinkly". Then you have at the bottom of theme.liquid this code

 

<!-- Added by Sticky Cart by Uplinkly -->
{% include ‘sticky-cart-by-uplinkly’ %}

 

You have to delet this and the problem is gone!

Smeelah
Navigator
323 1 90

Hmm, I have that app but the problem is gone. I'm guessing it is a conflict between Sticky Cart and something else...in my case it was another app. 

dph
Tourist
4 0 4

I also use Sticky Cart and have this problem. Removed the code in theme.liquid but that didn't helped. I had another piece of custom code in the product.liquid page and that was the problem.

It has to do with using the right quotation marks in the code.

 Just make sure you always use

'

and nothing else.

Jaimegoloma
New Member
1 0 0

Hi,

Can someone help me? I have the same error: Liquid error (header-minimal line 24): Argument error in tag 'include' - Illegal template name

I had the Sticky Cart by Uplinkly installed and I have already erased the code: {% include ‘sticky-cart-by-uplinkly’ %} and uninstalled the app but still doesn´t appear the main menu.
 
Thanks,
cucinaantica
New Member
1 0 0

We're having the same issue on our page: https://www.montebene.com/

Just looked at your page and didn't see the verbiage so did you figure out how to fix?

GazalEyewear
New Member
1 0 0

Should be a simple fix, had this same error on my site.  One of your snippets needs to have quotes fixed.  Try changing double quotes (") to single (') as in 

 

{% include "your_snippett" %} 

 

to 

 

{% include 'your_snippet' %}

 

or you maybe be missing a quote or 2... good luck!