Support » Plugin: Gutenberg » This block has encountered an error and cannot be previewed

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi,

    There should be an error logged in the JavaScript console when that happens, could you have a look for us please?

    (You can access it using step #3 in this guide https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis (you can skip the first two steps, they’re not needed for this).

    Here’s the errors that Chrome shows in console:

    Uncaught ReferenceError: tinymce is not defined tinymce-plugin-lists.min.137fa94a.js:1
        at tinymce-plugin-lists.min.137fa94a.js:1
        at tinymce-plugin-lists.min.137fa94a.js:1
    Uncaught ReferenceError: tinymce is not defined  tinymce-plugin-paste.min.f6e82d7a.js:1 
        at tinymce-plugin-paste.min.f6e82d7a.js:1
        at tinymce-plugin-paste.min.f6e82d7a.js:1
    Uncaught ReferenceError: tinymce is not defined tinymce-plugin-table.min.3fa6c17e.js:1
        at tinymce-plugin-table.min.3fa6c17e.js:1
        at tinymce-plugin-table.min.3fa6c17e.js:1


    Also,

    TypeError: Cannot read property 'init' of undefined
        at t.value (index.js:12)
        at t.value (index.js:12)
        at jc (react-dom.min.82e21c65.js:134)
        at gc (react-dom.min.82e21c65.js:127)
        at vb (react-dom.min.82e21c65.js:126)
        at ub (react-dom.min.82e21c65.js:126)
        at zd (react-dom.min.82e21c65.js:124)
        at ra (react-dom.min.82e21c65.js:123)
        at Object.enqueueSetState (react-dom.min.82e21c65.js:189)
        at e.q.setState (react.min.ab6b06d4.js:18)
    bg @ react-dom.min.82e21c65.js:110
    WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
    m @ ?v=2.0:6
    Moderator Marius L. J.

    (@clorith)

    Hi,

    Following up here, are you still experiencing these issues (there’s been at least one new release since this issue was created)?

    Just upgraded to 4.0.0 and this issue just popped up!

    I’m getting this error on WordPress 5.1.1 whenever I try to create an image block. Had it a month or so ago and then it seemed to resolve itself.

    There appears to be no way to add images now.

    Help would be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘This block has encountered an error and cannot be previewed’ is closed to new replies.