# Bug

**URL:** https://meta.discourse.org/c/contribute/bug/1.md?page=54

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 55

---

## [管理员/徽章设置标签缺失](https://meta.discourse.org/t/settings-labels-missing-at-admin-badges/320172)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 6\
**Last updated:** [2024年八月6日 08:45 UTC](https://meta.discourse.org/t/settings-labels-missing-at-admin-badges/320172 "2024-08-06T08:45:24Z")

</div>

\[en.admin.badges.allow\_title\_label\] \[en.admin.badges.multiple\_grant\_label\] \[en.admin.badges.listable\_label\] \[en.admin.badges.show\_posts\_label\]

---

## [无法通过聊天图标访问聊天消息](https://meta.discourse.org/t/cannot-access-chat-messages-through-chat-icon/319633)

<div class="topic-metadata">

**Author:** [@Bart](https://meta.discourse.org/u/Bart)\
**回覆:** 4\
**Last updated:** [2024年八月5日 13:47 UTC](https://meta.discourse.org/t/cannot-access-chat-messages-through-chat-icon/319633 "2024-08-05T13:47:35Z")

</div>

当我单击聊天图标时，它只会告诉我： “您还没有加入任何频道！” 我们不使用聊天频道。以前我可以选择聊天频道或聊天，但现在该选项已消失。我无法在不全屏的情况下查看我的聊天消息。 谢谢

---

## [投票功能无法点击头像](https://meta.discourse.org/t/poll-feature-cant-click-on-avatar/320131)

<div class="topic-metadata">

**Author:** [@gassim](https://meta.discourse.org/u/gassim)\
**回覆:** 2\
**Last updated:** [2024年八月5日 10:14 UTC](https://meta.discourse.org/t/poll-feature-cant-click-on-avatar/320131 "2024-08-05T10:14:29Z")

</div>

您好 我使用投票功能在月度帖子中向我们的会员提问。参与者将获得徽章。在最新更新之前，可以点击投票用户的个人资料头像并查看他们的个人资料，这样我就可以轻松地在新标签页中打开所有个人资料，然后手动授予他们徽章。 但是，现在我无法点击头像，这需要额外的步骤： 导出 CSV 将 CSV 导入电子表格 将每个用户名复制到 Discourse 的用户页面 打开用户页面，然后授予徽章 之前只需要这两个步骤： 打开个人资料并点击管理 授予…

---

## [当 MAXMIND 每日配额用尽时，重建总是失败](https://meta.discourse.org/t/rebuilding-always-fails-when-the-maxmind-daily-limit-is-exhausted/312775)

<div class="topic-metadata">

**Author:** [@kuaza](https://meta.discourse.org/u/kuaza)\
**回覆:** 62\
**Last updated:** [2024年八月5日 01:35 UTC](https://meta.discourse.org/t/rebuilding-always-fails-when-the-maxmind-daily-limit-is-exhausted/312775 "2024-08-05T01:35:00Z")

</div>

当每日限额用尽时，重建总是失败。我认为应该修复这个问题，因为我因此损失了两天，并且设置了两次服务器才找出问题所在。也许我不太聪明 :slight\_smile: 我认为当每日限额用尽时，您应该跳过此过程并继续重新创建。

---

## [主题更新问题](https://meta.discourse.org/t/themes-update-issue/319978)

<div class="topic-metadata">

**Author:** [@Kumandan](https://meta.discourse.org/u/Kumandan)\
**回覆:** 3\
**Last updated:** [2024年八月4日 22:17 UTC](https://meta.discourse.org/t/themes-update-issue/319978 "2024-08-04T22:17:54Z")

</div>

大家好。 我认为我在更新插件时遇到了问题。即使我更新了，它仍然出现在更新建议列表中。您可以通过观看下面的视频来查看。

---

## [DiscourseHub for Android中的漏洞？](https://meta.discourse.org/t/bugs-in-discoursehub-for-android/318870)

<div class="topic-metadata">

**Author:** [@ManuelS](https://meta.discourse.org/u/ManuelS)\
**回覆:** 11\
**Last updated:** [2024年八月2日 16:14 UTC](https://meta.discourse.org/t/bugs-in-discoursehub-for-android/318870 "2024-08-02T16:14:34Z")

</div>

大家好， 自从引入 DiscourseHub for Android 深色模式的版本以来，我遇到了两个问题： Discourse 论坛列表中的第一个条目（/e/OS 社区）不再显示新项目或未读项目。尽管有新项目和未读项目（当我触摸该条目打开论坛时可以看到），但该行已完全丢失。对于所有后续论坛，该行均显示且数字正确。 右上角的齿轮图标不再起作用。触摸没有反应。 还有其他人遇到这些问题吗？ 也许有人找到了解决方案？

---

## [从具有信任等级效果的组中移除用户不会重新计算该用户的自动组成员资格](https://meta.discourse.org/t/removing-a-user-from-a-group-with-a-trust-level-effect-does-not-recompute-the-users-automatic-group-memberships/319697)

<div class="topic-metadata">

**Author:** [@elmstedt](https://meta.discourse.org/u/elmstedt)\
**回覆:** 2\
**Last updated:** [2024年八月2日 15:07 UTC](https://meta.discourse.org/t/removing-a-user-from-a-group-with-a-trust-level-effect-does-not-recompute-the-users-automatic-group-memberships/319697 "2024-08-02T15:07:38Z")

</div>

我已阅读该主题 https://meta.discourse.org/t/group-trust-level/314024，其中提到： 以及这个较旧的主题 Should losing group membership unlock trust level? 其中描述的情况在很大程度上符合我的经验： 但是，我在自己的 Discourse 测试实例中发现的是这个…… 在所有信任级别设置都为默认值的情况下，我有一个 TL1 帐户（U…

---

## [被复数化后覆盖的翻译仍然保留](https://meta.discourse.org/t/overridden-translation-sticking-after-being-pluralized/279377)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 3\
**Last updated:** [2024年八月2日 07:10 UTC](https://meta.discourse.org/t/overridden-translation-sticking-after-being-pluralized/279377 "2024-08-02T07:10:00Z")

</div>

你好 :wave: 我最近在使用 js.badges.awarded 字符串时遇到了这个问题。我的网站是匈牙利语的。 当 js.badges.awarded 被实现时，我在 /admin/customize/site\_texts 中翻译了它，当 复数版本被覆盖时，非复数版本 js.badges.awarded 被卡住了，并且在 /admin/customize/site\_texts 中找不到。 因为 /admin/customiz…

---

## [过时的翻译替换导致缺失翻译](https://meta.discourse.org/t/outdated-translation-replacement-causing-missing-translation/314352)

<div class="topic-metadata">

**Author:** [@Kumandan](https://meta.discourse.org/u/Kumandan)\
**回覆:** 18\
**Last updated:** [2024年八月2日 06:48 UTC](https://meta.discourse.org/t/outdated-translation-replacement-causing-missing-translation/314352 "2024-08-02T06:48:01Z")

</div>

大家好。 在我大约一周前进行的更新之后，用户个人资料页面上出现了如下的按钮显示问题。我曾以为可以在接下来的几天进行的更新中修复它，并且虽然我进行了持续的更新，但问题并未得到改善。

---

## [排名选择投票没有正确进行决选](https://meta.discourse.org/t/ranked-choice-polls-dont-do-runoffs-correctly/319097)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 7\
**Last updated:** [2024年八月2日 05:15 UTC](https://meta.discourse.org/t/ranked-choice-polls-dont-do-runoffs-correctly/319097 "2024-08-02T05:15:17Z")

</div>

这个排序复选投票有 15 位选民。结果显示“幻想”在第一轮获胜。 然而，“幻想”仅获得 15 票中的 7 票排在第 1 位，这并非多数。由于排序投票需要多数票，因此在这种情况下应该至少有一次复选。

---

## [Discourse 用户模型代码中的可能复制粘贴错误](https://meta.discourse.org/t/possible-copy-paste-mistake-in-discourse-user-model-code/319634)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 3\
**Last updated:** [2024年八月1日 13:50 UTC](https://meta.discourse.org/t/possible-copy-paste-mistake-in-discourse-user-model-code/319634 "2024-08-01T13:50:56Z")

</div>

我感觉第 401 行和 402 行的 silencedTil 应该改为 suspendedTill

---

## [可审查/帖子投票问题](https://meta.discourse.org/t/reviewable-post-voting-issue/319642)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 0\
**Last updated:** [2024年八月1日 12:29 UTC](https://meta.discourse.org/t/reviewable-post-voting-issue/319642 "2024-08-01T12:29:20Z")

</div>

移除帖投票插件将导致类型为 ReviewablePostVotingComment 的可复查项留在队列中，尝试访问复查队列将导致 500 服务器错误并显示以下消息。 似乎此处提出的修复程序要么没有实现，要么已经回归。 ActiveRecord::SubclassNotFound (单表继承机制未能定位子类: 'ReviewablePostVotingComment'。此错误是因为 'type' 列被保留用于存储继承情况下的类。如果您…

---

## [在更新主题组件时出现“空字符串不是有效的JSON字符串”错误](https://meta.discourse.org/t/an-empty-string-is-not-a-valid-json-string-when-updating-theme-component/319476)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 2\
**Last updated:** [2024年八月1日 06:00 UTC](https://meta.discourse.org/t/an-empty-string-is-not-a-valid-json-string-when-updating-theme-component/319476 "2024-08-01T06:00:36Z")

</div>

更新主题组件时，会发生以下错误。 更新 Brand Header 主题组件失败 空字符串不是有效的 JSON 字符串。 /var/www/discourse/lib/theme\_settings\_manager/objects.rb:13:in \`parse' /var/www/discourse/lib/theme\_settings\_manager/objects.rb:13:in \`value=' /var/www/discour…

---

## [AI摘要日期错误](https://meta.discourse.org/t/ai-summary-date-is-wrong/282999)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回覆:** 8\
**Last updated:** [2024年七月31日 18:08 UTC](https://meta.discourse.org/t/ai-summary-date-is-wrong/282999 "2024-07-31T18:08:07Z")

</div>

打开 Using the Discourse sidebar 的摘要（也许是任何关于 AI 的主题）时，它显示我今天对其进行了摘要。TL2 没有摘要主题的权限，并且主题摘要已过时，因此日期不正确。

---

## [使用翻译时出现500错误，校对并生成AI助手的标题](https://meta.discourse.org/t/500-error-when-using-translate-proofread-and-generate-title-of-ai-helper/319438)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 1\
**Last updated:** [2024年七月31日 11:46 UTC](https://meta.discourse.org/t/500-error-when-using-translate-proofread-and-generate-title-of-ai-helper/319438 "2024-07-31T11:46:09Z")

</div>

当我尝试使用 AI 助手进行校对、翻译或生成标题时，会收到以下错误： 建议类别和标签仍然有效。我不确定解释功能是否正常。我没有收到错误，但也没有得到结果。

---

## [在某些情况下未被替换的Base\_path](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142)

<div class="topic-metadata">

**Author:** [@Chief-Engineer](https://meta.discourse.org/u/Chief-Engineer)\
**回覆:** 3\
**Last updated:** [2024年七月30日 16:31 UTC](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142 "2024-07-30T16:31:37Z")

</div>

我不确定这是何时开始的，但似乎 %{base\_path} 在某些情况下没有被替换。 到目前为止，我只在报告帖子提示中看到过这种情况，其中 URL 中的 topic id 被替换为 %%7Bbase\_path%7D/guidelines，因此 https://www.example.com/t/topic-title/1234 变成了 https://www.example.com/t/topic-title/%%7Bbase\_path…

---

## [ broken '阅读全文主题' 链接](https://meta.discourse.org/t/broken-read-more-topics-link/318884)

<div class="topic-metadata">

**Author:** [@another\_username](https://meta.discourse.org/u/another_username)\
**回覆:** 6\
**Last updated:** [2024年七月30日 11:00 UTC](https://meta.discourse.org/t/broken-read-more-topics-link/318884 "2024-07-30T11:00:20Z")

</div>

在查看帖子时，discourse.org 页面底部。 此链接将我导向一个错误页面： https://meta.discourse.org/t/flagged-post-removed-by-staff/318881/{basePath}/u/{username}/messages

---

## [日历插件 / upcoming-events 路由中没有 i18n 或出现问题](https://meta.discourse.org/t/broken-no-i18n-in-calendar-plugin-upcoming-events-route/313745)

<div class="topic-metadata">

**Author:** [@chrissycpty](https://meta.discourse.org/u/chrissycpty)\
**回覆:** 2\
**Last updated:** [2024年七月30日 07:22 UTC](https://meta.discourse.org/t/broken-no-i18n-in-calendar-plugin-upcoming-events-route/313745 "2024-07-30T07:22:54Z")

</div>

在 discourse-calendar 插件创建的 /upcoming-events 路由中显示的日历似乎没有拉取 FullCalendar 按钮的 i18n 翻译。日历始终显示 FullCalendar 的默认设置，例如对应按钮的“today”。 我猜测发生这种情况的原因（由于之前没有深入研究 discourse 或其插件，所以请谨慎参考）： 查看 discourse-calendar.js 时，FullCalendar 是使用…

---

## [复数定义不一致](https://meta.discourse.org/t/inconsistency-in-plural-definition/317456)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 4\
**Last updated:** [2024年七月29日 13:46 UTC](https://meta.discourse.org/t/inconsistency-in-plural-definition/317456 "2024-07-29T13:46:20Z")

</div>

继续讨论关于复数化（计数）翻译覆盖的问题： 我认为受此影响的不仅仅是匈牙利语。由于在Contribute \> Bug中提到了相关问题，因此我检查了希伯来语，……

---

## [我如何修复AI摘要中的重复键值错误？](https://meta.discourse.org/t/how-can-i-fix-the-duplicate-key-value-error-in-ai-summaries/318891)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 1\
**Last updated:** [2024年七月26日 19:39 UTC](https://meta.discourse.org/t/how-can-i-fix-the-duplicate-key-value-error-in-ai-summaries/318891 "2024-07-26T19:39:52Z")

</div>

感谢更新！不幸的是，摘要有时似乎会因以下错误而损坏。:confused: Job exception: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \\"ai\_summaries\_pkey\\" DETAIL: Key (id)=(7) already exists. 啊，好的，通过将模型名称从 claude-3-5-sonn…

---

## [主题滚动到底部跳转](https://meta.discourse.org/t/topic-jumping-to-bottom-on-scroll/318779)

<div class="topic-metadata">

**Author:** [@taravasya](https://meta.discourse.org/u/taravasya)\
**回覆:** 3\
**Last updated:** [2024年七月27日 16:11 UTC](https://meta.discourse.org/t/topic-jumping-to-bottom-on-scroll/318779 "2024-07-27T16:11:35Z")

</div>

分割自：Page is automatically jumping to the bottom on long threads 您好！我遇到了同样的问题，但不太明白这是什么意思： ？ 在 Windows Edge 和 Android Chrome 上也有相同的行为。我具体能做些什么来解决这个问题？ 我的 discourse 是通过 docker 安装的（托管在 Ubuntu 服务器上）。 Discourse 版本 3.3…

---

## [Discourse 在 iOS15 的 Safari 上无法加载](https://meta.discourse.org/t/discourse-failing-to-load-on-ios15-with-safari/318624)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回覆:** 2\
**Last updated:** [2024年七月26日 17:16 UTC](https://meta.discourse.org/t/discourse-failing-to-load-on-ios15-with-safari/318624 "2024-07-26T17:16:56Z")

</div>

大家好。 我们今天早上更新了（只晚了一周）到 3.3.0.beta5-dev (f169985fce)。 我们的一位成员报告说 Discourse 在 iOS15 的 Safari 上不再加载，但昨天还可以。 这是他们提供的照片： 听起来与几个月前这个 iOS15 问题/回滚类似： 恐怕我没有 iOS15 设备，因此无法测试或复现。 iOS15 仍然受支持吗？

---

## [主题编辑器中的自定义CSS问题无法加载](https://meta.discourse.org/t/issue-with-custom-css-in-theme-editor-not-loading/317435)

<div class="topic-metadata">

**Author:** [@CAKE\_NICE](https://meta.discourse.org/u/CAKE_NICE)\
**回覆:** 8\
**Last updated:** [2024年七月26日 10:19 UTC](https://meta.discourse.org/t/issue-with-custom-css-in-theme-editor-not-loading/317435 "2024-07-26T10:19:14Z")

</div>

大家好， 我在 Discourse 网站的主题编辑器上遇到一个问题。当我尝试在“CSS”选项卡下编辑自定义 CSS/HTML 时，加载指示器一直在旋转，编辑器从未加载。我附上了一张截图来说明这个问题。 到目前为止，我已经尝试了以下方法： 清除了我的浏览器缓存。 禁用了所有非官方插件。 使用了不同的浏览器和设备。 验证了我的管理员帐户是否具有必要的权限。 尽管付出了这些努力，问题仍然存在。其他人是否遇到过此问题或有什么建议可以解…

---

## [新主题地图导致无限加载循环](https://meta.discourse.org/t/new-topic-map-causing-infinite-loading-loop/318419)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 6\
**Last updated:** [2024年七月26日 09:35 UTC](https://meta.discourse.org/t/new-topic-map-causing-infinite-loading-loop/318419 "2024-07-26T09:35:42Z")

</div>

我还注意到了这一点。10 天前更新的另一个论坛没有出现这种情况。我感觉这是因为底部的“主题图”，它在第 20 篇帖子后就已经显示了。

---

## [注册时验证码框出现故障](https://meta.discourse.org/t/broken-password-confirmation-box-on-registration/318386)

<div class="topic-metadata">

**Author:** [@luftaquila](https://meta.discourse.org/u/luftaquila)\
**回覆:** 3\
**Last updated:** [2024年七月25日 19:21 UTC](https://meta.discourse.org/t/broken-password-confirmation-box-on-registration/318386 "2024-07-25T19:21:55Z")

</div>

我的 discourse 实例在密码确认输入框中显示了一些奇怪的哈希值。我可以在不更改这些框的情况下进行注册。 但我怀疑这不仅仅是我安装的问题，因为我在注册 Discourse Meta 以写下这个问题时也看到了同样的情况。 当同样的事情发生在其他实例上时，我无法相信这是一个本地问题。虽然我的桌面本地语言是韩语，但我的手机本地语言设置为英语，但同样的事情发生了。 在 Pixel 7 的 Android Chrome 中也发生…

---

## [无法删除Discourse Subscriptions上的产品](https://meta.discourse.org/t/cannot-delete-products-on-discourse-subscriptions/274142)

<div class="topic-metadata">

**Author:** [@Alex\_王](https://meta.discourse.org/u/Alex_%E7%8E%8B)\
**回覆:** 5\
**Last updated:** [2024年七月25日 19:15 UTC](https://meta.discourse.org/t/cannot-delete-products-on-discourse-subscriptions/274142 "2024-07-25T19:15:48Z")

</div>

当我尝试删除产品时，没有任何反应，并且有错误信息。 看起来产品销毁不起作用。 请帮帮我，非常感谢！！！！！！！

---

## [发布时遇到500错误，moment.tz运行时错误](https://meta.discourse.org/t/500-error-when-posting-moment-tz-runtime-error/315860)

<div class="topic-metadata">

**Author:** [@KhoiUSA](https://meta.discourse.org/u/KhoiUSA)\
**回覆:** 14\
**Last updated:** [2024年七月25日 05:14 UTC](https://meta.discourse.org/t/500-error-when-posting-moment-tz-runtime-error/315860 "2024-07-25T05:14:25Z")

</div>

您好，我最近在 Discourse 论坛上发帖时遇到一个错误。我查看了错误日志，发现了这个，日期和时间与我反复尝试发帖的时间相符。我收到了一个 500 错误 用户消息。 当我点击错误日志时，输出部分显示以下内容： JavaScript at addLocalDate (discourse/plugins/discourse-local-dates/lib/discourse-markdown/discourse-local-da…

---

## [试图在移动回复时选择标签，键盘会立即关闭](https://meta.discourse.org/t/trying-to-choose-tags-when-moving-reply-closes-keyboard-immediately/313374)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 3\
**Last updated:** [2024年七月25日 02:40 UTC](https://meta.discourse.org/t/trying-to-choose-tags-when-moving-reply-closes-keyboard-immediately/313374 "2024-07-25T02:40:16Z")

</div>

将回复从现有主题移至新主题时，在出现的弹出框中，问题在于选择新主题的标签时，键盘会突然关闭。只有当我设法快速输入几个字母时，键盘才会保持打开状态。 编辑：如果我不清楚的话，这发生在移动设备上。

---

## [全部站点设置（管理员）移动端筛选输入问题](https://meta.discourse.org/t/all-site-setting-admin-mobile-filter-input-issue/316942)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**回覆:** 3\
**Last updated:** [2024年七月22日 19:42 UTC](https://meta.discourse.org/t/all-site-setting-admin-mobile-filter-input-issue/316942 "2024-07-22T19:42:42Z")

</div>

Discourse Tests-passed 当我在“所有站点设置”中使用过滤器搜索时，它似乎会失去对输入字段的焦点。我可以输入 2 到 3 个字符，然后 Android 键盘就会关闭。 然后我必须再次触摸输入区域，它会重复这种行为。 我的另一个稳定版论坛没有遇到这个问题。

---

## [为什么我的调试器没有显示任何内容？](https://meta.discourse.org/t/why-is-my-debugger-not-showing-anything/317590)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回覆:** 1\
**Last updated:** [2024年七月16日 17:25 UTC](https://meta.discourse.org/t/why-is-my-debugger-not-showing-anything/317590 "2024-07-16T17:25:47Z")

</div>

很棒的功能。 调试器对我来说什么也没显示，并且 /logs/ 页面报告； DiscourseAi::Completions::Endpoints::OpenAi: status: 400 - body: { "error": { "message": "Invalid schema for function 'scraper': False is not of type 'array'.", "type": "invalid\_req…

[上一頁](https://meta.discourse.org/c/contribute/bug/1.md?page=53)

[下一頁](https://meta.discourse.org/c/contribute/bug/1.md?page=55)
