# Angus' Events Plugin 📅

**URL:** https://meta.discourse.org/t/angus-events-plugin/69776
**Category:** Plugin
**Created:** [September 11, 2017, 2:44am UTC](https://meta.discourse.org/t/angus-events-plugin/69776 "2017-09-11T02:44:59Z")
**Posts on this page:** 1
**Showing post:** 872

<div class="post-metadata">

### Author: ![kelv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kelv/32/524739_2.png) [@kelv](https://meta.discourse.org/u/kelv)
#### Post date: [March 17, 2025, 3:03pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/872 "2025-03-17T15:03:59Z")

</div>

Thanks @j.jaffeux for the fix 🙂

The error was occurring from here: [discourse-events/assets/javascripts/discourse/models/provider.js at b38f3258115110c07951f18e2c3562ac3e68a301 · angusmcleod/discourse-events · GitHub](https://github.com/angusmcleod/discourse-events/blob/b38f3258115110c07951f18e2c3562ac3e68a301/assets/javascripts/discourse/models/provider.js#L60)

We deprecated the use of that Singleton mixin at the start of the year. [This PR](https://github.com/discourse/discourse/pull/30498/files#diff-172f2fe5912e52b23bb3b0fb516bb04f124c71fb90a0caf94b1f5ccbac6e44efR19) should provide some reference on how to refactor a class to use Singleton as a decorator.

@angus would you be able to take a look? It should be a fairly minimal change, the decorator can be applied on RestModel.

---

_[View the full topic](https://meta.discourse.org/t/angus-events-plugin/69776)._
