alh
2019 年7 月 28 日 22:57
1
我尝试在服务器上安装 Discourse Calendar 插件,使用的是最新版本的 Discourse(2.4.0.beta2)。但是,db:migrate 执行失败,报错如下:
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
这是否仅仅意味着该插件尚不兼容最新版本,还是我的安装过程出现了问题?
sam
(Sam Saffron)
2019 年8 月 1 日 02:30
2
您能确认这是关于我们的官方日历插件,而不是这里那个有问题的插件吗:https://meta.discourse.org/t/discourse-calendar-plugin/58005
Summary
Discourse Calendar and Event adds dynamic and interactive calendar and event features to your Discourse site.
Install Guide
This plugin is bundled with Discourse core. There is no need to install the plugin separately.
Enabling Calendar (and Event)
The Calendar plugin can be enabled either by the toggle or from its settings, both accessible from your admin/plugins page:
[/admin/plugins]
Features
Somewhat unsurprisingly, Discourse Calendar …
register_user_custom_field_type 是最近在
committed 04:38PM - 24 Jul 19 UTC
中添加的一个新方法。
您需要将 Discourse 升级到最新版本,此插件才能正常工作。
alh
2019 年8 月 1 日 14:21
4
所以我需要 master 分支,而不是 2.4.0.beta2。谢谢你的帮助!