-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Error [TypeError]: Cannot read properties of undefined (reading 'substring') #70109
Comments
We cannot easily recreate the issue with the provided information. Please add a minimal reproduction in order for us to be able to help more efficiently. Why was this issue marked with the
|
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Link to the code that reproduces this issue
https://github.com/mrjaiswal122/Dossier
To Reproduce
then go to /auth route
Current vs. Expected behavior
doing so this error will be produced "Error [TypeError]: Cannot read properties of undefined (reading 'substring')" instead it should redirect me to home route if user is logedin or do nothing if user is not not logged in but it's showing this error
Provide environment information
Which area(s) are affected? (Select all that apply)
Middleware
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: