• greenspector

    (@greenspector)


    Hello.

    We’re on the 5.3.6 WordPress using the 1.9.3 version of Kadence Blocks.
    Since the update, we can’t edit any blocks. We encountered some errors while attempting to edit content :
    – This block has encountered an error and cannot be previewed
    – The editor has encountered an unexpected error

    Does anyone know how to fix those errors?
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    I can’t recreate your issue. Try deactivating plugins.

    Ben

    rjenrow

    (@rjenrow)

    I’m also having this issue, even after disabling all other plugins and reverting to a twentytwenty theme.

    When I try to repair, it says ‘This block has encountered an error and cannot be previewed’

    Any ideas here? This is primarily happening with the advanced gallery block.

    ck

    (@ckeefe987)

    I’m having the same issue. Any luck? I deactivated and still not working

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Right click while in the editor and click “inspect” and then look in the console log. Check to see what error is showing there and report.

    Make sure to try to recover your block: https://www.kadenceblocks.com/docs/how-to-recover-a-broken-block/

    Ben

    rjenrow

    (@rjenrow)

    I’ve pasted the console error I’m getting below. It happens after I attempt block recovery as described in your link above.

    react_devtools_backend.js:2430 DOMException: Failed to execute 'setAttribute' on 'Element': '“' is not a valid attribute name.
        at xe (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:28259)
        at https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:27030
        at Array.forEach (<anonymous>)
        at C (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:26808)
        at Oe (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:27622)
        at Fe (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:29104)
        at Ce (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:29544)
        at fe (https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:40456)
        at https://chswffdev2.wpengine.com/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7:43664
        at Vb (https://chswffdev2.wpengine.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:104:431)
    overrideMethod @ react_devtools_backend.js:2430
    ve @ react-dom.min.js?ver=16.9.0:103
    f.componentDidCatch.c.callback @ react-dom.min.js?ver=16.9.0:114
    yg @ react-dom.min.js?ver=16.9.0:62
    xg @ react-dom.min.js?ver=16.9.0:61
    Ti @ react-dom.min.js?ver=16.9.0:148
    unstable_runWithPriority @ react.min.js?ver=16.9.0:26
    Ma @ react-dom.min.js?ver=16.9.0:52
    Ia @ react-dom.min.js?ver=16.9.0:140
    ze @ react-dom.min.js?ver=16.9.0:118
    (anonymous) @ react-dom.min.js?ver=16.9.0:53
    unstable_runWithPriority @ react.min.js?ver=16.9.0:26
    Ma @ react-dom.min.js?ver=16.9.0:52
    mg @ react-dom.min.js?ver=16.9.0:52
    V @ react-dom.min.js?ver=16.9.0:52
    Be @ react-dom.min.js?ver=16.9.0:119
    xi @ react-dom.min.js?ver=16.9.0:39
    
    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    @rjenrow Unfortunately, that doesn’t tell me anything.

    Can you create a brand new page and recreate your error? If so can you explain the steps you are taking?

    Ben

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Block cannot be previewed / unexpected error’ is closed to new replies.