• Resolved Jacob Graham

    (@jtgraham38)


    Hello. I have been working on a client’s website, which has the plugin installed. They have requested a query loop on their homepage that displays their upcoming events in a format that is customizable using the block editor. I noticed that the plugin has some blocks included, on of which is Event Datetime. Whenever I try to use this block, or any block to display a piece of data about a specific event in the query loop, it shows the “This block has encountered an error and cannot be previewed.” message.

    Upon looking in the browser console for more details, I am presented with this error:

    TypeError: Cannot read properties of undefined (reading '_EventStartDate')
    at editor.min.js?ver=9b9729953f3754e74846:7:59549
    at Array.map (<anonymous>)
    at editor.min.js?ver=9b9729953f3754e74846:7:59531
    at Object.useMemo (react-dom.min.js?ver=18.3.1:2:66621)
    at t.useMemo (react.min.js?ver=18.3.1:2:6087)
    at editor.min.js?ver=9b9729953f3754e74846:7:59478
    at hu (react-dom.min.js?ver=18.3.1:2:60308)
    at xi (react-dom.min.js?ver=18.3.1:2:119597)
    at bs (react-dom.min.js?ver=18.3.1:2:108749)
    at vs (react-dom.min.js?ver=18.3.1:2:108677)

    I can verify that this site has been live for many years before the client started to have me work on it. I recently migrated it to use a block-based theme, as before it was using a shortcode-based theme. Any help in remedying this issue so that I can use the post datetime block would be much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.