# 聊天频道和聊天导航似乎已损坏

**URL:** <https://meta.discourse.org/t/chat-channels-and-chat-nav-seem-to-have-broken/214115>\
**Category:** Product Support\
**Created:** [2022 年1 月 7 日 04:23 UTC](https://meta.discourse.org/t/chat-channels-and-chat-nav-seem-to-have-broken/214115 "2022-01-07T04:23:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)\
发布日期： [2022 年1 月 7 日 19:38 UTC](https://meta.discourse.org/t/chat-channels-and-chat-nav-seem-to-have-broken/214115/2 "2022-01-07T19:38:03Z")

</div>

好的，在 @markvanlan、@sam、@j.jaffeux 和 @REALITY 的帮助下，我在聊天中解决了这个问题：

**摘要**  
我的网站上仍然安装了 topic list previews 插件，尽管它没有启用，但它在服务器端造成了问题。

我从 app.yml 文件中删除了它并进行了重建，它又可以正常工作了。

然后根据这个链接将其添加为主题组件：

> [@Chat channels and chat nav seem to have broken](https://meta.discourse.org/t/chat-channels-and-chat-nav-seem-to-have-broken/214115/3?u=jimkleiber):
>
> Topic List Previews plugin was deprecated in November 2021 and is now [a Theme Component](https://meta.discourse.org/t/topic-list-previews-theme-component/209973)

感谢大家的帮助！

**详情**  
（通过在浏览器中实例的基础 URL 后面附加 /logs 找到）

`StandardError (Attempted to access the non preloaded custom field 'topic_list_tiles'. This is disallowed to prevent N+1 queries.) app/models/concerns/has_custom_fields.rb:173:in ` ’ (eval):35:in `_fa`

```plaintext
app/models/concerns/has_custom_fields.rb:173:in `[]'
plugins/discourse-topic-previews/plugin.rb:78:in `block (3 levels) in activate!'
(eval):35:in `_fast_attributes'
active_model_serializers (0.8.4) lib/active_model/serializer.rb:456:in `attributes'
plugins/discourse-custom-wizard/extensions/custom_field/serializer.rb:4:in `attributes'
active_model_serializers (0.8.4) lib/active_model/serializer.rb:480:in `_serializable_hash'
active_model_serializers (0.8.4) lib/active_model/serializer.rb:359:in `serializable_hash'
active_model_serializers (0.8.4) lib/active_model/serializer.rb:347:in `as_json'
plugins/discourse-chat/app/serializers/chat_channel_serializer.rb:38:in `chatable'
(eval):4:in `_fast_attributes'

```

---

_[View the full topic](https://meta.discourse.org/t/chat-channels-and-chat-nav-seem-to-have-broken/214115)._
