Db:migrate fails on discourse-calendar

I tried to install the Discourse Calendar plugin on my server on the latest version of Discourse ( 2.4.0.beta2). However, db:migrate fails with:

rake aborted!
NoMethodError: undefined method `register_user_custom_field_type’ for #Plugin::Instance:0x00007f362313a6b8
Did you mean? register_post_custom_field_type
register_group_custom_field_type
register_category_custom_field_type
register_topic_custom_field_type

Does that simply mean the plugin is not compatible yet with the latest version or is my installation somehow messed up?

can you confirm this is about our official calendar plugin and not the broken one here: https://meta.discourse.org/t/discourse-calendar-plugin/58005

2 Likes

register_user_custom_field_type is a new method that was added recently in

https://github.com/discourse/discourse/commit/ae05245b007774fc85c220a54e7478b3b54ac60f

You need to upgrade to the very latest version of Discourse for this plugin to work properly.

2 Likes

So I need master branch instead of 2.4.0.beta2. Thanks for your help!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.