"Liquid error (layout/theme line 43): internal"

Solved

"Liquid error (layout/theme line 43): internal"

Scott_Simsa
Shopify Partner
6 1 3

I just launched a new theme and some users are seeing this error at the top of the site on mobile. I persoanlly am not. What could be causing this? Spinnywhoosh.com 

 

456504195_2221044394939399_2028670212141056017_n.jpg

Accepted Solution (1)

Scott_Simsa
Shopify Partner
6 1 3

This is an accepted solution.

ALRIGHT, was easy enough to find and fix. Went into theme.liquid fine and checked out line 43. Was a {{ content_for_header }} tag. So I commented it out with:

 

{% capture h_content %}
{{ content_for_header }}
{% endcapture %}

 

That did the trick! Hope this helps anyone with this case. 

View solution in original post

Replies 3 (3)

BSS-TekLabs
Shopify Partner
2136 633 735

This is a common error that is happening on many shopify sites. There is probably some bug and shopify is working on it. Hopefully it will be fixed soon.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Scott_Simsa
Shopify Partner
6 1 3

This is an accepted solution.

ALRIGHT, was easy enough to find and fix. Went into theme.liquid fine and checked out line 43. Was a {{ content_for_header }} tag. So I commented it out with:

 

{% capture h_content %}
{{ content_for_header }}
{% endcapture %}

 

That did the trick! Hope this helps anyone with this case. 

Ninthony
Shopify Partner
2343 354 1039

@Scott_Simsa don't do this, content for header contains all the scripts that get injected by any apps, this can cause functionality to break and if not now it will in the future. Jsyk, you're not commenting it out. You're capturing it as a variable. It essentially is commenting it out because you never output {{ h_content }} anywhere in the code. Anyway, just remove that. The issue you were seeing was a Shopify issue that they have since resolved, I was seeing it on a bunch of stores this morning. 

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄