AMP conflict with Image Blocks after recent Gutenberg versions (17.3 and higher)
-
Support details: ampwp-78f5f4d2-0efd-5e17-b2e7-f9905926c182
When AMP is activated on a site running Gutenberg 17.3 or higher, image-related blocks (Image, Gallery, Cover, Media & Text, etc) will render in the editor as “This block has encountered an error and cannot be previewed”.
Console log shows:TypeError: Cannot read properties of undefined (reading 'off') at new <anonymous> (amp-block-editor.js?ver=58945a960ba3c840b940:3:522) at ut (react-dom.min.js?ver=18:1:39330) at br (react-dom.min.js?ver=18:1:56687) at $s (react-dom.min.js?ver=18:1:121525) at Sl (react-dom.min.js?ver=18:1:88649) at kl (react-dom.min.js?ver=18:1:88577) at bl (react-dom.min.js?ver=18:1:88440) at sl (react-dom.min.js?ver=18:1:85264) at dl (react-dom.min.js?ver=18:1:85651) at Nn (react-dom.min.js?ver=18:1:32464)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘AMP conflict with Image Blocks after recent Gutenberg versions (17.3 and higher)’ is closed to new replies.