# Babble 聊天

**URL:** https://meta.discourse.org/t/babble-chat/87297
**Category:** Plugin
**Tags:** broken
**Created:** [2018 年5 月 11 日 22:08 UTC](https://meta.discourse.org/t/babble-chat/87297 "2018-05-11T22:08:04Z")
**Posts on this page:** 1
**Showing post:** 411

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [2021 年4 月 13 日 00:20 UTC](https://meta.discourse.org/t/babble-chat/87297/411 "2021-04-13T00:20:21Z")

</div>

我已安装 Babble 但不再使用，因此已将其禁用。我本不在意它是否安装，但无论安装与否，我的网站现在都出现了故障。

**如果我卸载它** ，会导致 `/g` 的群组页面失效：

> [@After upgrade, "/g" is cluttered with PM groups of 2](https://meta.discourse.org/t/after-upgrade-g-is-cluttered-with-pm-groups-of-2/171937):
>
> After upgrading to 2.7.0.beta1, [forum.example.com/g](http://forum.example.com/g) now displays hundreds of groups of two, evidently formed by PMs. The “real” groups are still there, but hard to find. The private groups of 2 are visible only to admins or staff- normal users see only the real groups. Is this intentional? If so, could it be made an option, not the default? It’s not what admins normally want to see. And there’s no way to get there using the drop-list filter. Here’s a very small sample including one real group: …

**如果我保留安装但禁用它** ，会导致我们的自定义摘要功能失效。诚然，这是由我们的 discourse-506investor-digest-plugin 调用的，但看起来 NilClass 的问题出在 babble/app/models/topic.rb 中。

来自 `/logs` 的日志：

`Job exception: undefined method 'id' for nil:NilClass`

```
/var/www/discourse/app/models/topic.rb:470:in 'for_digest'
/var/www/discourse/plugins/babble/app/models/topic.rb:4:in 'for_digest'
/var/www/discourse/app/models/post.rb:99:in 'block in <class:Post>'
activerecord-6.0.3.5/lib/active_record/relation.rb:412:in 'instance_exec'
activerecord-6.0.3.5/lib/active_record/relation.rb:412:in 'block in _exec_scope'
activerecord-6.0.3.5/lib/active_record/relation.rb:784:in '_scoping'
activerecord-6.0.3.5/lib/active_record/relation.rb:412:in '_exec_scope'
activerecord-6.0.3.5/lib/active_record/scoping/named.rb:192:in 'block in scope'
activerecord-6.0.3.5/lib/active_record/relation/delegation.rb:66:in 'block in for_mailing_list'
activerecord-6.0.3.5/lib/active_record/relation.rb:407:in 'block in scoping'
activerecord-6.0.3.5/lib/active_record/relation.rb:784:in '_scoping'
activerecord-6.0.3.5/lib/active_record/relation.rb:407:in 'scoping'
activerecord-6.0.3.5/lib/active_record/relation/delegation.rb:66:in 'for_mailing_list'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:89:in 'get_favorite_posts'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:24:in 'block in execute'
/var/www/discourse/lib/distributed_mutex.rb:33:in 'block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:29:in 'synchronize'
/var/www/discourse/lib/distributed_mutex.rb:29:in 'synchronize'
/var/www/discourse/lib/distributed_mutex.rb:14:in 'synchronize'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:12:in 'execute'
/var/www/discourse/app/jobs/base.rb:232:in 'block (2 levels) in perform'
rails_multisite-2.5.0/lib/rails_multisite/connection_management.rb:76:in 'with_connection'
/var/www/discourse/app/jobs/base.rb:221:in 'block in perform'
/var/www/discourse/app/jobs/base.rb:217:in 'each'
/var/www/discourse/app/jobs/base.rb:217:in 'perform'
/var/www/discourse/app/jobs/base.rb:279:in 'perform'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:93:in 'process_queue'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:37:in 'block (2 levels) in initialize'

```

---

_[View the full topic](https://meta.discourse.org/t/babble-chat/87297)._
