Type must be defined in schema issue

mpatsia
Shopify Partner
74 0 7

Greetings, i'm currectly migrating to a new version of the theme and i follow the docs of the theme that describe how to migrate. They say that you must copy the json template files to the new theme. Althouth i am doing that i get an error that says "The type must be defined in schema". Does anyone knows what this is?

 

Screenshot 2023-11-07 070703.png

 

Thanks in advance!

Replies 5 (5)
Kaner
Shopify Partner
12 2 2

Hi @mpatsia that means you have a undefined block type in section schema 

Solved? Please do not forget to mark as solution
Need to discuss? Let's talk
Questions? info@kanertuncel.com
mpatsia
Shopify Partner
74 0 7

Hello and thanks for replay. When i copy the JSON code this will not be defined, because the code force it?

Kaner
Shopify Partner
12 2 2

Can you provide the code snippet? Or send it via email?

Solved? Please do not forget to mark as solution
Need to discuss? Let's talk
Questions? info@kanertuncel.com
azamgill
Shopify Partner
273 36 53

Hey @mpatsia ,

looks like you update the json files but not update the related liquid files that contain the schema. 

Azam Gill
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Encourage me ❤️

Come and visit us at Wbify
mpatsia
Shopify Partner
74 0 7

Hello, i must copy and paste the liquid file first and after the JSON?