Why am I getting a 'Liquid Error: New Metafields' in my multiline input field?

Hi Everyone,

I’m getting this strange error: “Setting ‘title’ can’t include Liquid syntax (‘{{’, ‘}}’, ‘{%’ or ‘%}’) without valid dynamic sources” when I’m trying to connect a multiline input field with the Richtext input. The “title” is the id of the “richtext” input field in the schema.

Any help will me much appreciated…

Thanks

Hi @osamaehsan , welcome to Shopify Community

can you please post the schema code you have defined to your specific input? Are you working with Legacy Theme or with Theme 2.0?

Hi @drakedev , Thanks for replying.

I’m using theme2.0 and Here is the schema code.

{
        "type": "richtext",
        "id": "title",
        "label": "Heading"
},

The schema field is richtext and the metfield is multi-line text input.

Thanks

Issue Fixed:

So the issue is fixed. let me explain what happened. I created those meta fields and accidentally created one multiline title, out of three titles. So to rather than going back and deleting that I simply changed the schema to rich text, from simple text, so that it can handle those multi-line texts. Now it should have been compatible but due to previous data already placed in the field, it was throwing that weird error.

How I fixed it: I simply opened the product.json file and removed that specific values from the actual JSON and it fixed the problem.

Ok, great that you solved.