• Resolved hellson

    (@hellson)


    Hey

    I am trying to use Timeline Block in Gutenberg. However, whenever I add it to a page, I get the following error message:

    “This block has encountered an error and cannot be previewed.”

    Is this an error on my end, or is there maybe a compatibility issue with the latest version of WordPress/Gutenberg?

    Cheers

    M.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Charles Cormier

    (@charlescormier)

    Hi @hellson,

    It’s a public place. If you don’t mind, could you please share the console error or a screenshot of the console from your end?

    Thanks!

    Thread Starter hellson

    (@hellson)

    Yes, of course. Sorry for not thinking of this earlier!

    react-dom.min.js?ver=18:1 TypeError: Cannot read properties of null (reading 'id')
    at timeline.min.js:7:5827
    at Array.forEach ()
    at timeline (timeline.min.js:7:5800)
    at Edit.js:21:3
    at Vr (react-dom.min.js?ver=18:1:73401)
    at Cl (react-dom.min.js?ver=18:1:93222)
    at react-dom.min.js?ver=18:1:91964
    at El (react-dom.min.js?ver=18:1:92029)
    at dl (react-dom.min.js?ver=18:1:85798)
    at Nn (react-dom.min.js?ver=18:1:32464)

    Fyi, I just noticed that it looks normal on the frontend of the site (i.e. filled with the default). It’s just that I can’t edit it in the backend.

    • This reply was modified 1 year ago by hellson.
    Plugin Author Charles Cormier

    (@charlescormier)

    Hi,

    We have fixed the issue and released a new version. Please update the plugin to the new version.

    Thanks!

    Thread Starter hellson

    (@hellson)

    Wow, thanks a lot! Super fast turnaround on this fix!

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