TypeError: Cannot read properties of null (reading 'title')
Opened this issue · 2 comments
baeksal commented
Server Error
TypeError: Cannot read properties of null (reading 'title')
This error happened while generating the page. Any console logs will be displayed in the terminal window.
obah commented
Ensure all your variables are named and used correctly
sabeen2 commented
goto ecommerce-front/pages/index.js and replace the featuredProductId with actual product id from your mongdb . (const featuredProductId = 'your_actual_product_id';)