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:
Can anyone confirm if my understanding above is accurate?
Has anyone successfully run the awesome-it/discourse-events fork on the latest Discourse without the Ember 3 fallback?
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
@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. ā This plugin is unmaintained and contains deprecated code. Not to be confused with the official discourse-calendar pluginā)?
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.