Support » Plugin: Atomic Blocks - Gutenberg Blocks Collection » lots of warnings from container block

  • Resolved slimmilkduds

    (@slimmilkduds)


    Hi, getting this in the console (before even adding the block to a new post):

    index.js?ver=1550755858:2 Block validation: Expected attributes [Array(3)], instead saw (2) [Array(3), Array(3)].
    (anonymous) @ index.js?ver=1550755858:2
    (anonymous) @ index.js?ver=1550755858:2
    StartTag @ index.js?ver=1550755858:2
    (anonymous) @ index.js?ver=1550755858:2
    Ot @ index.js?ver=1550755858:2
    Zt @ index.js?ver=1550755858:2
    (anonymous) @ index.js?ver=1550755858:2
    (anonymous) @ index.js?ver=1550755858:2
    (anonymous) @ index.js?ver=1550755858:50
    c @ lodash.min.30f08225.js:6
    ru @ lodash.min.30f08225.js:67
    (anonymous) @ index.js?ver=1550755858:50
    tryCatch @ wp-polyfill.min.2ae96136.js:3
    invoke @ wp-polyfill.min.2ae96136.js:3
    t.(anonymous function) @ wp-polyfill.min.2ae96136.js:3
    r @ index.js?ver=1550755858:12
    a @ index.js?ver=1550755858:12
    Promise.then (async)
    r @ index.js?ver=1550755858:12
    a @ index.js?ver=1550755858:12
    Promise.then (async)
    r @ index.js?ver=1550755858:12
    a @ index.js?ver=1550755858:12
    (anonymous) @ index.js?ver=1550755858:12
    (anonymous) @ index.js?ver=1550755858:12
    (anonymous) @ index.js?ver=1550755858:50
    FETCH_REUSABLE_BLOCKS @ index.js?ver=1550755858:50
    (anonymous) @ index.js?ver=1550755858:12
    (anonymous) @ index.js?ver=1550755858:1
    value @ index.js?ver=1550755858:1
    value @ index.js?ver=1550755858:50
    zc @ react-dom.min.713f0afa.js:146
    wc @ react-dom.min.713f0afa.js:138
    fa @ react-dom.min.713f0afa.js:137
    ng @ react-dom.min.713f0afa.js:149
    Se @ react-dom.min.713f0afa.js:40
    index.js?ver=1550755858:2 Block validation: Block validation failed for <code>atomic-blocks/ab-container</code> ({name: "atomic-blocks/ab-container", title: "AB Container", description: "Add a container block to wrap several blocks in a parent container.", icon: {…}, category: "atomic-blocks", …}).
    
    Expected:
    
    <div class="wp-block-atomic-blocks-ab-container aligncenter ab-block-container"><div class="ab-container-inside"><div class="ab-container-content" style="max-width:1600px"></div></div></div>
    
    Actual:
    
    <div style="background-color:#fff;padding-left:0%;padding-right:0%;padding-bottom:0%;padding-top:0%;margin-top:0%;margin-bottom:0%" class="wp-block-atomic-blocks-ab-container aligncenter ab-block-container"><div class="ab-container-inside"><div class="ab-container-content" style="max-width:1600px">
    
    </div></div></div>

    Running latest version of ab and wordpress

    Cheers

Viewing 1 replies (of 1 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi there,

    I’m not able to replicate this on my install with the latest AB. It could be that we fixed this in a recent round of updates. Another thing to try is to make sure your browser isn’t using cached JS, which tends to get stuck in the browser. A few hard refreshes should knock that out.

    I also see a reference to reusable blocks in there. If you had a reusable block that was using the old container, that could also be causing an issue. You’d want to recreate that reusable block with the new block.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.