• Resolved Creative Slice

    (@creativeslice)


    The Events Calendar 6.1.3 throws this console error when editing an event using WordPress 6.2.2 and PHP 8.

    Block "core/legacy-widget" is already registered.

    The only way we’ve been able to “fix” this is by deleting the tec-widget-blocks reference on line 477 of /src/Tribe/Editor.php:

    tribe_asset(
    $plugin,
    'tec-widget-blocks',
    'app/widgets.js',
    [

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Truman

    (@tdorn)

    Hi there,

    Very sorry about the trouble you are having here, we would not really recommend editing core files like this, however if this got it working for you then by all means.

    I did some searching, and it turns out this is related to a bug we are working on currently, a fix is on the way, you can use this bug ticket number as a reference: TEC-4764

    I don’t have an exact time frame on when this will be released, but we will definitely be reaching out to your here when that is fixed. We really appreciate your patience, sorry about the trouble here.

    donbowman

    (@donbowman)

    While testing out updates for upcoming wordpress 6.3, and gutenberg 16.3, i have run into this issue, which I assume is related to OP so adding here.

    On an empty wordpress install, 6.2.1, with gutenberg 16.3 plugin installed, if The Events Calendar is installed, on ‘new post’, I get this error:

     Block "core/legacy-widget" is already registered.

    (i’ve isolated out all other plugins and code, its this interaction).

    Now, the first thing that surprised me… this is a New Post. Not a New Event. Why is The Events Calendar even loading?

    Plugin Support Darian

    (@d0153)

    Hi @donbowman

    I’m truly sorry to hear that you’re facing this issue as well. Upon reviewing the internal ticket, it seems that the problem is related to our Widget blocks feature. Please know that this issue isn’t limited to Events only, but it affects all post types.

    Rest assured that we are working on a solution for this issue. Once the fix is available, we will provide an update in this thread.

    Any update?

    Plugin Support Darian

    (@d0153)

    Hi @nicksatkovich

    Upon checking the [TEC-4764] ticket, it is still in progress. Rest assured, as soon as we release a fix for this issue, we will post an update here in the thread.

    I appreciate your patience so far. If you do have other concerns or issues you need help with, please create another support topic as indicated in the WordPress.org support guidelines.

    Plugin Support Guga Alves

    (@gugaalves)

    Hi there!

    We’re happy to inform you that the error in console when saving events using the block editor in the Events Calendar plugin has been fixed.

    As always, we recommend testing updates on a staging site first – https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/ – and keeping a recent backup, but the update should work smoothly.

    Please upgrade your Events Calendar plugin to apply this fix to your site.

    Best regards,

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Block “core/legacy-widget” is already registered.’ is closed to new replies.