Support » Fixing WordPress » This block has encountered an error and cannot be previewed

  • Resolved jooray

    (@jooray)


    Hi,

    when I create a new post and want to write a normal text block, after I click on a block again (or any other block), it is changed to:

    This block has encountered an error and cannot be previewed

    I use stock twentytwenty theme. JavaScript console says this:

    TypeError: e is not a function
    at index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    at Array.forEach (<anonymous>)
    at index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    at react-dom.min.de439aae.js:128
    at unstable_runWithPriority (react.min.e713ea3b.js:25)
    at Da (react-dom.min.de439aae.js:60)
    at Ch (react-dom.min.de439aae.js:128)
    at Dh (react-dom.min.de439aae.js:133)
    at Aj (react-dom.min.de439aae.js:158)
    at unstable_runWithPriority (react.min.e713ea3b.js:25)
    Me @ react-dom.min.de439aae.js:125
    Jh.f.componentDidCatch.c.callback @ react-dom.min.de439aae.js:139
    Wg @ react-dom.min.de439aae.js:67
    oj @ react-dom.min.de439aae.js:127
    Aj @ react-dom.min.de439aae.js:160
    unstable_runWithPriority @ react.min.e713ea3b.js:25
    Da @ react-dom.min.de439aae.js:60
    ab @ react-dom.min.de439aae.js:154
    Te @ react-dom.min.de439aae.js:146
    (anonymous) @ react-dom.min.de439aae.js:61
    unstable_runWithPriority @ react.min.e713ea3b.js:25
    Da @ react-dom.min.de439aae.js:60
    Pg @ react-dom.min.de439aae.js:61
    ha @ react-dom.min.de439aae.js:60
    Ja @ react-dom.min.de439aae.js:224
    ch @ react-dom.min.de439aae.js:93
    e @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    t @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    (anonymous) @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    p @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    (anonymous) @ index.js?ver=a330026dd3a54b230c1396b573fe1c9f:1
    (anonymous) @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    (anonymous) @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    (anonymous) @ index.js?ver=91467f96f050275b3b0759a49f3d2732:1
    (anonymous) @ index.js?ver=91467f96f050275b3b0759a49f3d2732:1
    (anonymous) @ index.js?ver=d72cf0ff4e188a1c1d0889ea77f62252:1
    r @ index.js?ver=91467f96f050275b3b0759a49f3d2732:81

Viewing 2 replies - 1 through 2 (of 2 total)
  • Steve Dufresne

    (@dufresnesteven)

    Since it appears like you are familiar with the console, can you grab the full path for the index.js file from your network tab (assuming you are using chrome)?

    Thread Starter jooray

    (@jooray)

    The latest wordpress upgrade fixed the problem.

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