-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Widgets editor] TypeError: Cannot read property 'body' of null at onLoad #34164
Comments
There are two possibilities here:
According to the HTML Living Standard:
My guess is that the |
@adamziel @anton-vlasenko: Did we ever do this? |
Looks like it's tracked in #33540.. |
@noisysocks and @adamziel this issue came up in our weekly Editor Bug Scrub and I just wanted to check in. Seems like work on the Legacy Widget block has stalled? Just curious if this is an issue we are actively planning to fix, or if it can be closed as a "[Status] Not Implemented". |
I don't believe anyone is working on this, no. If we're struggling to reproduce this and not hearing many reports from users then I'd be happy to close. |
Thanks for the follow-up @noisysocks. We reviewed it again during this week's Editor Bug Scrub, and the consensus was to close this ticket. |
Description
In some scenarios – and I am not sure which ones – the legacy widget preview results in an error
TypeError: Cannot read property 'body' of null at onLoad
. Stack trace points to the following line:gutenberg/packages/widgets/src/blocks/legacy-widget/edit/preview.js
Line 110 in 253d9b6
The problem occurs both in customizer and on widgets.php
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Pre-checks
The text was updated successfully, but these errors were encountered: