Open linuxd3v opened 3 years ago
Yes, line numbers would have been helpful. I agree! Shopify does this, so it should be possible in other platforms.
For your case though: It says Unknown tag 'json'
so you should look for a tag named json
(not a variable). A tag looks like this: {% json ... %}
.
A common mistake I sometimes find myself doing is to assign a variable without using the assign
tag. So instead of {% assign json = my_json %}
I might do {% json = my_json %}
. Liquid would misunderstand json
to be a tag and give an error.
Hi. im trying to test liquid template that errors out with this error:
Im new to liquid and my code seems fine.
I cannot understand which line this code refers to as I have multiple variables outputted that begin with "json".
Is there a way to enable line numbers in errors?