Updated CoBlocks is breaking the page editor for pages using the Hero block
-
I installed the latest update and now the page editor fails to load altogether (total white page). Hosted on Pressable. Deactivating the plugin fixes the problem. I’ve also tried deactivating all the other installed plugins to make sure it’s not a clash.
It appears to be caused by the Hero block, as pages that don’t use it are loading in the editor.
Here’s the console output:
blocks.min.js:2 Block validation: Block validation failed for
coblocks/hero` (Objectattributes: {layout: {…}, fullscreen: {…}, paddingTop: {…}, paddingRight: {…}, paddingBottom: {…},?…}category: “coblocks”deprecated: [{…}]description: “An introductory area of a page accompanied by a small amount of text and a call to action.”edit: ? (t)icon: {src: {…}}keywords: (3)?[“button”, “cta”, “call to action”]name: “coblocks/hero”save: ? (e)supports: {align: Array(2), coBlocksSpacing: true}title: “Hero”transforms: {from: Array(1)}__proto__: Object).Content generated by
save
function:<div class=”wp-block-coblocks-hero alignwide coblocks-hero-71016134560 icl-hero mb-0 mt-0″><div class=”wp-block-coblocks-hero__inner has-background has-background-image bg-no-repeat bg-center-center bg-cover hero-center-center-align has-padding has-huge-padding has-center-content” style=”background-color:#f3f3f3;background-image:url(/wp-content/uploads/2019/08/Artboard-1-copy-6-100.jpg);min-height:450px”><div class=”wp-block-coblocks-hero__content-wrapper”><div class=”wp-block-coblocks-hero__content” style=”max-width:700px”></div></div></div></div>
Content retrieved from post body:
<div class=”wp-block-coblocks-hero alignwide coblocks-hero-71016134560 icl-hero mb-0 mt-0″><div class=”wp-block-coblocks-hero__inner has-background has-background-image bg-no-repeat bg-center-center bg-cover hero-center-center-align has-padding has-huge-padding has-center-content” style=”background-color:#f3f3f3;background-image:url(/wp-content/uploads/2019/08/Artboard-1-copy-6-100.jpg);min-height:450px”><div class=”wp-block-coblocks-hero__box” style=”max-width:700px”></div></div></div>
(anonymous) @ blocks.min.js:2
react-dom.min.js:117 TypeError: Cannot read property ‘id’ of undefined
at save (blocks.build.js?ver=1567284968:1)
at it (blocks.min.js:2)
at ot (blocks.min.js:2)
at block-editor.min.js:55
at hooks.min.js:1
at Kt (blocks.min.js:2)
at blocks.min.js:2
at Yt (blocks.min.js:2)
at blocks.min.js:2
at Array.reduce (<anonymous>)
Bg @ react-dom.min.js:117
blocks.build.js?ver=1567284968:1 Uncaught (in promise) TypeError: Cannot read property ‘id’ of undefined
at save (blocks.build.js?ver=1567284968:1)
at it (blocks.min.js:2)
at ot (blocks.min.js:2)
at block-editor.min.js:55
at hooks.min.js:1
at Kt (blocks.min.js:2)
at blocks.min.js:2
at Yt (blocks.min.js:2)
at blocks.min.js:2
at Array.reduce (<anonymous>)
`
- The topic ‘Updated CoBlocks is breaking the page editor for pages using the Hero block’ is closed to new replies.