-
Notifications
You must be signed in to change notification settings - Fork 275
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
SSR pages return 500 error due to context being undefined #1042
Comments
The error happens when trying to set the We also noticed that this only seemed to be an issue on SSR pages on first load. At build time, pages using We also believe #1041 would fix the issue we are seeing, but likely not the underlying bug of the If #1041 is successful, would it be possible to get a patch release on v19 and v20 please? |
|
about #1041 - hotfix will be released |
Hi @pzi @ChrisManganaro - We investigated a similar ( cc @illiakovalenko @sc-addypathania |
Description
With using
withSitecoreContext
HOC, pages built using SSR return 500 due to context being undefined - in production mode.In testing this issue, I have only be able to reproduce when running the app in production mode locally
Expected behavior
Pages load normally
Steps To Reproduce
https://github.com/ChrisManganaro/sitecore-nextjs-ssr
- this was started with the next sample appnpm i
npm run start:production
Your Environment
The text was updated successfully, but these errors were encountered: