-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.
Description
Description
When opening the Design Library, the preview crashes and shows:
This block has encountered an error and cannot be previewed.
Console shows:
9installHook.js:1 TypeError: un[t] is not a function
at or (compose.min.js?ver=42e10ac07bc50b2c5314:1:31609)
at edit (blocks.js?ver=20ce5cad211d8091741a:28:71823)
at mf (react-dom.min.js?ver=18.3.1.1:105:412)
at Qk (react-dom.min.js?ver=18.3.1.1:250:214)
at Ri (react-dom.min.js?ver=18.3.1.1:195:185)
at Ok (react-dom.min.js?ver=18.3.1.1:195:116)
at Nd (react-dom.min.js?ver=18.3.1.1:194:492)
at Qf (react-dom.min.js?ver=18.3.1.1:187:439)
at Ni (react-dom.min.js?ver=18.3.1.1:185:400)
at S (react.min.js?ver=18.3.1.1:17:25)
Expected: Design Library previews should render without errors.
Actual: The preview fails and displays the error above. Initial investigation suggests a problem with the @wordpress/compose pipeline in Otter's blocks.js, possibly due to a non-function value in a composed hook or version mismatch.
Step-by-step reproduction instructions
- Open the WordPress block editor.
- Open Design Library (Otter).
- Attempt to preview or use a library item.
Screenshots, screen recording, code snippet or Help Scout ticket
Environment info
WP 7.0
Is the issue you are reporting a regression
No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.