-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Had an old menu saved and was beta testing 7.0, noticed this error crop up when loading a page in the editor:
Uncaught (in promise) TypeError: can't access property "_crdt_document", s.meta is undefined
The problem is that the requested menu entity record does not have a "meta" key.
Line in question is here:
gutenberg/packages/core-data/src/entities.js
Line 454 in a095129
| record?.meta?.[ POST_META_KEY_FOR_CRDT_DOC_PERSISTENCE ] || |
I'm out of the loop on the CRDT stuff in general so I can't recommend anything.
Step-by-step reproduction instructions
- create and save a menu on wordpress version 6.8 or thereabouts (what i'm upgrading from)
- upgrade to wp 7.0
- load page with menu in it
- observe inspector console throw an error matching the above
Screenshots, screen recording, code snippet
Environment info
upgrading from wp 6.8 to 7.0
tested with gutenberg plugin and without
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.