• Resolved atyler

    (@atyler)


    I’m having the same problem as this where I can use the ticket/RSVP blocks on pages but not custom post types.
    I get the error: “This block has encountered an error and cannot be previewed.”
    With this error in the console:

    TypeError: Cannot read property '_tribe_ticket_going_count' of undefined
        at editor.min.js:12
        at lodash.min.js:97
        at lodash.min.js:53
        at ee (lodash.min.js:34)
        at qc (lodash.min.js:97)
        at editor.min.js:12
        at Object.useMemo (react-dom.min.js:216)
        at d.useMemo (react.min.js:32)
        at WithMetaAttributeSource(Component) (editor.min.js:12)
        at we (react-dom.min.js:84)

    I’ve tried the usual updating and disabling other plugins and themes.
    RSVPs work fine when using the classic editor, just not Gutenberg.

    • This topic was modified 4 years ago by atyler.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ticket/RSVP block preview error in custom post type’ is closed to new replies.