ndimatteo / HULL

💀 Headless Shopify Starter – powered by Next.js + Sanity.io
https://hull.dev
MIT License
1.36k stars 167 forks source link

TypeError: Cannot read properties of undefined (reading 'replace') #136

Closed hanii090 closed 5 months ago

hanii090 commented 5 months ago

Screenshot 2024-02-09 145908 How do i resolve this!

skylerstyron commented 5 months ago

What were you doing to get this issue?

If you are creating a new page, you need to add all seo fields.

ndimatteo commented 5 months ago

Hey there @hanii090,

As @skylerstyron pointed out, make sure you have all proper data (including settings) filled out in Sanity. This bug only appears when there is core data objects missing when generating pages.

As mentioned in other issues– in the next version of HULL these issues will be addressed.