-
Notifications
You must be signed in to change notification settings - Fork 58
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
RCTFatalException: Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'n.title.raw') This error is lo...: Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'n.title.raw') #5496
Comments
Looks like it's coming from https://github.com/WordPress/gutenberg/blob/74d1b0db4732f23085e788eb895f308b92c16aff/packages/block-editor/src/store/selectors.js#L2007 When a reusable block has no title |
I tried recreating this one by creating a reusable block without a title. The app handles that fine and it appears there is a default value in the block data. I also looked into the sites connected to the errors. Seems like there are some Jetpack connection issues which could be related. Marking as low priority since it's only impacting a few customers. |
Sentry issue: JETPACK-IOS-13FB |
A few notes on this issue:
|
Adding the most recent symbolicated trace for reference:
|
SummaryHere's a rundown of the number of events Sentry reported for the initial
In WordPress/gutenberg#53721, optional chaining was added to the A "new" crash then appeared in Sentry:
As per these notes, the crash has continued to prove tricky to reproduce, but it feels as though WordPress/gutenberg#53721 did help towards reducing the crashes. Next StepsI've proposed some extra safety checks around references to For future digging, I noticed that recent stack traces vary, so it could be valuable to collect multiple different traces from different users and compare for any similarities. |
It is peaking again in 23.2 currently, but I'm not sure it's actually the same exact event. |
@kean, thank you for monitoring! The latest attempt at addressing this (WordPress/gutenberg#54792) will be included in 23.4. |
I confirmed that this issue is not happening in 23.4 (after this fix was merged) with 77% adoption. Hence, we can consider it solved and we can proceed to close the issue 🎊. |
Sentry Issue: JETPACK-IOS-P5
Metrics:
The text was updated successfully, but these errors were encountered: