-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
TypeError: Cannot read properties of undefined (reading '_sentryTransaction') #5864
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
Comments
Getting the same issue when setting up on Next.js |
Same on my setup |
Hi everybody. Thanks for reporting this issue! This bug is caused by a pretty new feature we only roll out per default when installing the SDK via the In the meanwhile and to get your apps working again you can simply set the We'll try to get a fix out for this asap. |
Hey @lforst this would mean we need to manually wrap our api routes right? If we set that setting to false atm. |
Correct! |
@daniellin215 Just to help me debug this. Do you have a |
@lforst sorry formatting is off, on mobile atm. `import Document from "next/document"; export default class MyDocument extends Document { |
@daniellin215 Thank you! Can anybody reproduce the error with |
We released a patch that should fix this error. Let me know if you encounter any more problems! |
Strangely, this exact error started appearing when we installed 7.14.1 which should contain the fix. Updating to 7.30 (current latest) didn't work so we rolled back to 7.12.1 which doesn't cause any error for us @lforst |
@flowen what is the exact error you're getting? |
|
@flowen are you by chance calling |
@lforst you're right, we import |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/nextjs
SDK Version
7.14.0
Framework Version
12.3.0
Link to Sentry event
https://sentry.io/organizations/craft-codery/issues/3635175907/?project=4503904394412032&query=is%3Aunresolved
Steps to Reproduce
TypeError: Cannot read properties of undefined (reading '_sentryTransaction')
Expected Result
No error
Actual Result
The text was updated successfully, but these errors were encountered: