• Resolved laurelfulford

    (@laurelfulford)


    This issue was reported in an existing thread, but I started a new one to make sure it doesn’t get hidden since WordPress 6.6 is coming out next week.

    When the block editor is enabled for events on a site using the WordPress 6.6 release candidate, the blocks don’t work and the editor throws JavaScript errors. This is not block theme specific — it happens with classic themes, too.

    I can recreate this with WordPress 6.6 RC 2 and the Twenty Twenty theme.

    Steps to recreate:

    1. Start with a test site running the latest WP 6.6 RC, Twenty Twenty, and the Events Calendar plugin. For the first one, I also installed the WordPress Beta tester plugin to update to RC2.
    2. Navigate to WP Admin > Events > Settings, and check “Enable the Gutenberg block editor interface for creating events.”
    3. Create a new event.
    4. Note that each block displays an error (like “Your site doesn’t include support for the “tribe/event-datetime” block. You can leave this block intact or remove it entirely.”).
    5. Open the browser inspector; there will be errors like Uncaught ReferenceError: regeneratorRuntime is not defined.

    The team I work on ran into similar issues with this upcoming WordPress release and the short-term fix was to add regenerator-runtime to the plugins since it wasn’t available from WordPress alone (example, example). The exact fix may not work for TEC, but hopefully it helps sort out how to resolve this in this plugin!

    • This topic was modified 8 months, 2 weeks ago by laurelfulford.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress 6.6 RC: errors in block editor for events in classic, block themes’ is closed to new replies.