Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of null (reading 'title') #2

Open
baeksal opened this issue May 6, 2023 · 2 comments
Open

TypeError: Cannot read properties of null (reading 'title') #2

baeksal opened this issue May 6, 2023 · 2 comments

Comments

@baeksal
Copy link

baeksal commented May 6, 2023

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.

image

@obah
Copy link

obah commented Jun 26, 2023

Ensure all your variables are named and used correctly

@sabeen2
Copy link

sabeen2 commented Jul 28, 2023

goto ecommerce-front/pages/index.js and replace the featuredProductId with actual product id from your mongdb . (const featuredProductId = 'your_actual_product_id';)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants