Events Plugin šŸ“…

I’ve been looking into the this.router error with the Pavilion Events Plugin and came across this fork:

From what I can see, this fork is just a copy of angusmcleod/discourse-events with no commits that update it for the latest Discourse changes (including Ember 5 support). It doesn’t seem to address the deprecated code paths causing the current errors.

From community posts and testing, here’s what I understand:

  • The original Events Plugin is not currently compatible with Discourse’s Ember 5 upgrade.
  • Users have reported issues with event-rsvp and add-event modals, causing breakages.
  • A temporary workaround is to force Discourse to use Ember 3 by adding EMBER_VERSION=3 in app.yml — but this is not a long-term fix and may cause future breakage.
  • This situation has persisted into early 2025 without an official update from the plugin maintainers.

Questions:

  1. Can anyone confirm if my understanding above is accurate?
  2. Has anyone successfully run the awesome-it/discourse-events fork on the latest Discourse without the Ember 3 fallback?
  3. Is there an actively maintained fork or alternative plugin that replicates the Events Plugin’s features?

Any confirmation or correction would be appreciated so I can plan whether to:

  • Stick with the Pavilion plugin and use Ember 3 fallback
  • Switch to the official Calendar/Events in core
  • Migrate to a different actively maintained fork

We believe this plugin is broken and should be tagged as ~broken~ deprecated .

3 Likes

Are there any plans to include iCal / CalDAV functionality to Discourse Calendar (and Event)? What do you think @angus?

Hello @angus

Is the Events plugin compatible with the latest version of Discourse?

I can no longer find the page on https://pavilion.tech/ to test plugin compatibility.

I’m hesitant to update to the latest version following the last comment.

Personally, I’m still on version 3.5.0.beta4-dev, and the Events functions associated with Location are super useful :slight_smile:

@staff could I request a small moderation update to the OP of this topic?

The plugin here (ā€œDiscourse Eventsā€) is not Pavilion-maintained and it currently contains
deprecated Ember code (this.router). This has been confirmed in this support thread,
where the recommendation was to disable the plugin if installed.

Right now the OP doesn’t make that clear, which risks confusion with the official
Discourse Calendar / Event plugin. Would you consider adding a short note at the top
(e.g. ā€œ:warning: This plugin is unmaintained and contains deprecated code. Not to be confused with the official discourse-calendar pluginā€)?

That way future readers don’t mix the two up.

1 Like

The plugin now works on the latest version of Discourse.

6 Likes

Thanks angus - really glad you’ve kept this functionality going. I know you’d stepped back from supporting discourse-events professionally, so it means a lot that you still took the time to push a fix here.

I’ve tested the commit and it solved the router error on my site.

I also saw what Lhc_fl pointed out earlier about the event-label helper using deprecated code - that’s still something to clean up in future. And as davidtaylor noted, those warnings (associated with deprecated APIs) shouldn’t break a site by themselves, so it makes sense that your router fix was the piece needed to get things working again.

Appreciate you keeping this plugin alive on current Discourse. :folded_hands:

2 Likes