Problem in the liquid theme code

Hi All, please can anyone help me in plain English. I’m

trying to get my store verified by Google. When trying the HTML method, the liquid them is showing an error in line 59 but I don’t know how to fix it. I’m really not techy. This is all a struggle. Screen shot included.

Hey @bridgitdoolanart,

Could you let me know which Article or the tutorial you follow and find the code you are trying to use.

Actually, you are using the object that is no t defined. So, that’s why it’s difficult to gave you the proper Object assignment.

Kindly share the code so that I can assist you.

Thanks

Hi,

I was following instructions on the Google Search Console. I copied and pasted the suggested code underneath the header as demonstrated.

I now think I may have successfully verified with google via DNS through my domain provider’s website. However, still unsure whether this liquid them error message will cause any issues in the future?

What was your intention? Just verification on Google? If that’s all it was, then you can ignore the error for now.

One more quick note from the guidelines: Never share your credentials (collab code) from your store. Only do so if no one else can help you publicly. And even then, only via private message.

1 Like

Hey, you can check against the default theme code where this line is exactly the same:

This is not an error message, just an “improvement suggestion”
Also – you’ve pasted your verification code properly and in the right place.

My unmodified theme displays the same warning (see screenshot below), so just leave it where it is. Do not share access to your store to unknown people.
And even if you do, be very careful with permissions you give this person.

Frankly, I am sick of this “account scavenging”.
Forum supposed to be a place for knowledge sharing first, not job solicitation, it’s in the forum rules.

And of course, not direct lying to force you to share store access.

3 Likes