• Resolved hhollick

    (@hhollick)


    I am getting an error when I click “Toggle block inserter” or attempt to insert a block while editing on my site. (See error screen shot).

    I went through and tested all of my plugins and it looks like The Events Calendar is conflicting with PublishPress Blocks (or vice versa). When both of these plugins are active, I get the error described above. There is no error when either PublishPress Blocks OR The Events Calendar is deactivated.

    I have a thread active with the developer of PublishPress Blocks and he is asking if The Events Calendar unregisters Block type ‘core/legacy-widget’.

    PublishPress Blocks registers this block but it is showing as unregistered when The Events Calendar is activated. Does The Events Calendar unregister this block?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi @hhollick,

    I started debugging the problem after your report, we take this kind of problem very seriously, we definitely don’t want to be unregistered the WordPress Default.

    I’ve did some digging around the code from our plugin and PublishPress Blocks, and it seems like I have found the problem. I will share below a screencast explaining the issue, unfortunately it’s not something super simple to fix from our side, since we are relying on the Legacy Widgets block, not replacing it.

    As I said in the video above I will try to reach out the PublishPress Block developers and find what is happening here.

    Hopefully the video explains a bit of what seems to be happening.

    Hi @bordoni,
    I really appreciate the explanation in a screencast format. I’ll continue debugging our plugin focused on the lines you mention in the video and work in a fix to allow PublishPress Blocks be compatible with The Events Calendar.

    Regards

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Thank you so much @htmgarcia, more than glad to make any modifications needed to our Plugin too, would love to make sure we are compatible.

    Best Regards,

    Thread Starter hhollick

    (@hhollick)

    Gustovo

    Thanks for the awesome video. it makes sense to me, but I’m just an end-user who missed her calling as a developer (Fortran and Pascal were the languages de jour when I was making my way through college ??)

    I hope that @htmgarcia finds it useful. I am standing by for end-user testing any time.

    @bordoni I was able to find the code that causes the issue. We unregister legacy-widget in post edit without adding it back later. Is an internal approach we implemented to avoid double registering core blocks.

    Fix reference: https://github.com/publishpress/PublishPress-Blocks/commit/19c8afeb886d9a616111468402489a66fb4304cc

    @hhollick in case you experience the same issue, disable “Block Access” if you are not using it (through Blocks menu > Settings).

    Regards

    Thread Starter hhollick

    (@hhollick)

    Seems to be resulted with the release of 2.11.3 of PublishPress Blocks.

    Thanks for everything.

    Hey if you need a robust scheduling api solution, check out https://onsched.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Does The Events Calendar unregister ‘core/legacy-widget’?’ is closed to new replies.