# 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:** 483

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [July 11, 2019, 11:49pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/483 "2019-07-11T23:49:14Z")

</div>

@Jeremie_Leroy @SDKAAA @icaria36 Thanks for your bug reports.

After this commit the issue should no longer appear:

[https://github.com/angusmcleod/discourse-events/commit/1a715b6aa1959211be89ffcc8fc64e3940c42291](https://github.com/angusmcleod/discourse-events/commit/1a715b6aa1959211be89ffcc8fc64e3940c42291)

For further context:

> [@Custom field casting affected by recent update?](https://meta.discourse.org/t/custom-field-casting-affected-by-recent-update/122746):
>
> There have been multiple bug reports for the [events plugin](https://meta.discourse.org/t/events-plugin-calendar) in the last two days that all seem to be type-casting issues with custom fields. The events plugin hasn’t been substantively updated in a few months. The plugin.rb file casts event\_start as an integer: Topic.register\_custom\_field\_type('event\_start', :integer) The error is being thrown here: def has\_event? self.custom\_fields['event\_start']&.nonzero? end The error itself follows this format: NoMethodError (undefined method `nonze…

---

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