• The call to action block has the “this block contain unexpected of invalid data” message when saved and edit screen refreshed (or returned to). Seems to be related to clearing the text color. I want the call to action text and title to inherit page colors for those elements. I suppose I can set manually, but since the clear option exists I assume that this is its purpose.
    thx
    john

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter John Antonacci

    (@johnnya23)

    to follow up I see this in console for the page edit screen:

    #######################

    Block validation: Expected attributes (2)?[Array(3), Array(3)], instead saw [Array(3)].
    (anonymous) @ blocks.min.js:2
    (anonymous) @ blocks.min.js:2
    StartTag @ blocks.min.js:2
    (anonymous) @ blocks.min.js:2
    Mt @ blocks.min.js:2
    Yt @ blocks.min.js:2
    Yt @ blocks.min.js:2
    Yt @ blocks.min.js:2
    (anonymous) @ blocks.min.js:2
    Qt @ blocks.min.js:2
    SETUP_EDITOR @ editor.min.js:17
    (anonymous) @ editor.min.js:17
    (anonymous) @ data.min.js:1
    value @ data.min.js:1
    e @ editor.min.js:17
    Yf @ react-dom.min.js:67
    qg @ react-dom.min.js:92
    hi @ react-dom.min.js:104
    Qg @ react-dom.min.js:144
    Rg @ react-dom.min.js:145
    Sc @ react-dom.min.js:158
    Z @ react-dom.min.js:156
    Kc @ react-dom.min.js:155
    ya @ react-dom.min.js:153
    enqueueSetState @ react-dom.min.js:202
    t.setState @ react.min.js:20
    value @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ data.min.js:1
    n @ data.min.js:1
    (anonymous) @ data.min.js:1
    v @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ redux-routine.min.js:1
    dispatch @ data.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    Promise.then (async)
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    r.any @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    r.any @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    r.any @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    Promise.then (async)
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    t @ redux-routine.min.js:1
    r.iterator @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    t @ redux-routine.min.js:1
    r.iterator @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    e @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    t @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ redux-routine.min.js:1
    (anonymous) @ data.min.js:1
    w @ data.min.js:1
    (anonymous) @ data.min.js:1
    t.(anonymous function) @ data.min.js:1
    n @ data.min.js:1
    c @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ data.min.js:1
    w @ data.min.js:1
    (anonymous) @ data.min.js:1
    fulfill @ data.min.js:1
    (anonymous) @ data.min.js:1
    w @ data.min.js:1
    (anonymous) @ data.min.js:1
    t.(anonymous function) @ data.min.js:1
    n @ data.min.js:1
    c @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ data.min.js:1
    a @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ data.min.js:1
    (anonymous) @ edit-post.min.js:12
    n @ data.min.js:1
    r @ data.min.js:1
    Yf @ react-dom.min.js:67
    qg @ react-dom.min.js:92
    hi @ react-dom.min.js:104
    Qg @ react-dom.min.js:144
    Rg @ react-dom.min.js:145
    Sc @ react-dom.min.js:158
    Z @ react-dom.min.js:156
    Kc @ react-dom.min.js:155
    ya @ react-dom.min.js:153
    bh @ react-dom.min.js:160
    xe @ react-dom.min.js:160
    nb.render @ react-dom.min.js:215
    (anonymous) @ react-dom.min.js:164
    $g @ react-dom.min.js:159
    Wc @ react-dom.min.js:164
    render @ react-dom.min.js:217
    lo @ edit-post.min.js:12
    (anonymous) @ post.php?post=68&action=edit:2434
    Show 75 more frames
    blocks.min.js:2 Block validation: Block validation failed for <code>atomic-blocks/ab-cta</code> ({name: "atomic-blocks/ab-cta", title: "AB Call To Action", description: "Add a call to action section with a title, text, and a button.", icon: {…}, category: "atomic-blocks",?…}).
    
    Content generated by <code>save</code> function:
    
    <div style="text-align:center" class="wp-block-atomic-blocks-ab-cta ab-block-cta ab-font-size-14"><div class="ab-cta-image-wrap"><img src="https://wordpress-155879-962449.cloudwaysapps.com/wp-content/uploads/2019/08/map.jpg" alt="" /></div><div class="ab-cta-content"><h2 class="ab-cta-title ab-font-size-32" style="color:#32373c">Reach Us</h2><div class="ab-cta-text ab-font-size-32" style="color:#32373c"><p>Map and Contact</p></div></div><div class="ab-cta-button"><a target="_self" rel="noopener noreferrer">Contact</a></div></div>
    
    Content retrieved from post body:
    
    <div style="text-align:center" class="wp-block-atomic-blocks-ab-cta ab-block-cta ab-font-size-14"><div class="ab-cta-image-wrap"><img src="https://wordpress-155879-962449.cloudwaysapps.com/wp-content/uploads/2019/08/map.jpg" alt="" /></div><div class="ab-cta-content"><h2 class="ab-cta-title ab-font-size-32">Reach Us</h2><div class="ab-cta-text ab-font-size-32"><p>Map and Contact</p></div></div><div class="ab-cta-button"><a target="_self" rel="noopener noreferrer">Contact</a></div></div>

    ##############

    if that helps

    Plugin Author John Parris

    (@mindctrl)

    @johnnya23 thanks for the report and sorry for the hassle. I’ll log this bug and see if we can get it fixed in the next update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call to Action’ is closed to new replies.