Skip to content

Conversation

@t14
Copy link
Contributor

@t14 t14 commented Mar 2, 2025

When creating a new blog post the following TypeError occurs

Unhandled Runtime Error

[ Server ] Error: Cannot read properties of undefined (reading 'includes')

eval
./app/blog/%5B...slug%5D/page.tsx
Module.generateMetadata
./app/blog/%5B...slug%5D/page.tsx

Checking that img is defined before calling the the includes method resolves the issue

When creating a new blog post the following error occurs
[ Server ] Error: Cannot read properties of undefined (reading 'includes')
@vercel
Copy link

vercel bot commented Mar 2, 2025

@t14 is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Mar 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2025 7:20am

@timlrx
Copy link
Owner

timlrx commented Mar 31, 2025

Thanks for the fix

@timlrx timlrx merged commit fe3aac3 into timlrx:main Mar 31, 2025
2 checks passed
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
Error when creating new blog post
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

Successfully merging this pull request may close these issues.

2 participants