Babble Chat

I have Babble installed but no longer use it, so it’s disabled. I wouldn’t care whether it was installed or not, except that my site is now broken in either case.

If I uninstall it, it breaks the groups page at /g:

If I leave it installed but disabled, it breaks our custom digests. Admittedly this is being called by our discourse-506investor-digest-plugin, but it seems the NilClass is in babble/app/models/topic.rb.

From /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'