3daddict / themekit-webpack

(Legacy) Shopify Themekit with Webpack and TailwindCSS
MIT License
59 stars 10 forks source link

Liquid error: Error in tag 'section' - 'footer' is not a valid section type #25

Closed felixmosh closed 3 years ago

felixmosh commented 3 years ago

I'm getting this error on the page it self (start & build) and in the terminal I see that themekit writes

[development] (sections/footer.liquid) New schema is incompatible with the current setting value. Invalid type value for block 'footer-0'. Type must be defined in schema.New schema is incompatible with the current setting value. Invalid type value for block 'footer-1'. Type must be defined in schema

In order to reproduce: git clone https://github.com/3daddict/themekit-webpack/tree/d8310957336c83d3d6a61db7ecf52db644dc3bc2 (this hash is before all the changes in the infra) add my shopify credentials to config.yaml yarn install && yarn start

image

felixmosh commented 3 years ago

Ha, I've solved it

I've started from a clone of some default template, since config/settings_data.json is not uploaded from local env, there was a mismatch.

All I did is to re-upload my current config/settings_data.json file.

3daddict commented 3 years ago

Oh yeah, I should have mentioned that. Might be a good note to add in the readme! Thanks for flagging @felixmosh