错误公告:升级后运行本讨论论坛的软件遇到意外问题

升级通过命令 .launcher rebuild app 后,我收到了此消息:

哎呀
为该讨论论坛提供支持的软件遇到了意外问题。我们对此造成的不便深表歉意。

有关错误的详细信息已记录,并生成了自动通知。我们会对其进行查看。

无需采取进一步措施。但是,如果错误状况持续存在,您可以通过在该站点的反馈类别中发布讨论主题来提供更多详细信息,包括重现错误的步骤。

我没有收到带有链接 Sitetor.com/logs 的日志。这是 404 错误页面,正常。
访问安全模式页面可以,但选择时没有操作:

  • 禁用主题和主题组件
  • 禁用非官方客户端插件自定义
  • 禁用所有客户端插件自定义

我在 app.yml 文件中每个插件行前面加上了 ##。仅用于回退 Docker manager 插件。

然后运行命令 launcher Rebuild app。
但没有效果。
我重启了我的 Vultr 服务器 1 小时后,但仍然收到相同的消息 OPS。

:frowning:

嗯。 :thinking: 这有点棘手。浏览器控制台中的错误信息不多。

我猜你之所以看不到 /logs,是因为你没有登录。或许可以尝试使用管理员登录页面 (/u/admin-login) 来绕过当前的问题并访问日志。

2 个赞

我输入了我的电子邮件管理员,并在电子邮件中收到了登录会话链接,但当我点击该链接时,我再次看到了这个消息:

糟糕

这有点异想天开。

注释掉插件没有帮助,这很不寻常。您之后重建时,重建成功了吗?

1 个赞

好的,成功了。
昨天我重建了应用程序,没问题,我的论坛也没问题。之后我在管理页面收到了升级通知,我通过网站进行了升级。之后我收到了“糟糕…………”的消息。
所以我再次通过命令行进行了重建。现在一直报错。

这是我的日志页面中的日志:

CSP 违规:'https://sitetor.com/assets/plugins/footnote-79e2a367b53b791240c3504826b87b2787c9d197d77cd422969d592aae9cf23b.js'
5 月 6 日 上午 8:27
CSP 违规:'https://sitetor.com/assets/plugins/discourse-lazy-videos-bdf1486acc96b228a2163490640a2bdc90f5e0a1bb1949335fd1fde2ad48795c.js'
5 月 6 日 上午 8:27
CSP 违规:'https://sitetor.com/theme-javascripts/a3636f1729d8c81989eb6665a5a33c82564fcec4.js?__ws=sitetor.com'
5 月 6 日 上午 8:27
CSP 违规:'https://sitetor.com/theme-javascripts/ca4f2222209109b7d767260935bb303d2b284516.js?__ws=sitetor.com'
5 月 6 日 上午 8:27
弃用通知:`SiteSetting.min_trust_level_to_allow_ignore` 已弃用。请使用 `SiteSetting.ignore_allowed_groups` 代替。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/lib/gua
6 月 8 日 晚上 7:55
15
CSP 违规:'https://www.google-analytics.com'
6 月 10 日 晚上 9:32
2
CSP 违规:'https://sitetor.com/svg-sprite/sitetor.com/svg-93-10018d578f2d963b00e0465dc2060daae0e3a6cc.js'
6 月 16 日 下午 3:24
CSP 违规:'https://sitetor.com/javascripts/magnific-popup/1.1.0/jquery.magnific-popup.min.js'
6 月 16 日 下午 3:24
6
CSP 违规:'wasm-eval'
6 月 22 日 上午 10:05
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \"index_topic_tags_on_topic_id_and_tag_id\" DETAIL: Key (topic_id, tag_id)=(65105, 601) alread
6 月 30 日 上午 11:47
Failed to handle exception in exception app middleware : ActiveRecord::RecordNotUnique : PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \"index_topic_tags_on_topic_id_and_t
6 月 30 日 上午 11:47
10
NoMethodError (undefined method `scan' for {:one=>"Categories (%{count} more)…", :other=>"Categories (%{count} more)…"}:Hash) lib/i18n/i18n_interpolation_keys_finder.rb:6:in `find' app/controllers/adm
6 月 30 日 晚上 9:19
24
CSP 违规:'eval' () => { utils.preloadCache() }
7 月 1 日 晚上 11:34
21
NoMethodError (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app
7 月 4 日 上午 9:59
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
7 月 4 日 下午 3:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
7 月 4 日 下午 3:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
7 月 5 日 下午 4:17
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
7 月 5 日 下午 4:17
弃用通知:`AdminDashboardData#add_problem_check` 已弃用。请实现一个继承 `ProblemCheck` 的类。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/plugins/discourse-si
7 月 6 日 上午 1:00
20
CSP 违规:'https://sitetor.com/assets/start-discourse-c524a8995f2f0cbcea43353efe8e8f269da821ea97c21ef0f04df5fcd916170a.js'
周日 下午 4:33
20
CSP 违规:'https://sitetor.com/assets/browser-update-9070f07226d022f68c06506e046ae33f8fe725302ff53955cd3d483f2fc47ff6.js'
周日 下午 4:33
CSP 违规:'https://sitetor.com/svg-sprite/sitetor.com/svg-87-ca7d0fff2c92f16b8b655f85bb0a36f4c6eb98df.js'
周日 下午 4:33
CSP 违规:'https://sitetor.com/uploads/default/original/2X/d/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js'
周日 下午 4:33
3
CSP 违规:'https://pagead2.googlesyndication.com'
周日 下午 4:33
23
ActionView::Template::Error (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defe
周一 下午 6:50
69
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\xA3" from ASCII-8BIT to UTF-8
周二 上午 2:15
181
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\xA1" from ASCII-8BIT to UTF-8
周二 下午 3:52
8
弃用通知:`UsersController#modify_user_params` 方法已弃用。请使用 `users_controller_update_user_params` 修改器。(自 Discourse 3.1.0.beta4 起弃用)(removal
周二 晚上 11:18
弃用通知:`AdminDashboardData#add_problem_check` 已弃用。请实现一个继承 `ProblemCheck` 的类。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/plugins/discourse-si
周三 下午 2:46
Corrupt cache... skipping entry for key _CACHE:sitemap/1/50000 : ArgumentError : dump format error (user class)
周三 晚上 6:39
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
周三 晚上 10:51
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
周三 晚上 10:51
弃用通知:`AdminDashboardData#add_problem_check` 已弃用。请实现一个继承 `ProblemCheck` 的类。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/plugins/discourse-si
凌晨 5:40
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
凌晨 5:57
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
凌晨 5:57
弃用通知:`AdminDashboardData#add_problem_check` 已弃用。请实现一个继承 `ProblemCheck` 的类。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/plugins/discourse-si
上午 8:49
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
上午 9:03
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
上午 9:18
弃用通知:`AdminDashboardData#add_problem_check` 已弃用。请实现一个继承 `ProblemCheck` 的类。(将在 Discourse 3.3 中移除)位于 /var/www/discourse/plugins/discourse-si
上午 10:11
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
上午 10:48
3
NoMethodError (undefined method `slug_path' for nil) app/models/category.rb:1229:in `slug_path' app/models/category.rb:1069:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app/models/
下午 12:26
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 1:21
10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 1:46
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 1:48
59
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 1:52
47
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 2:10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 2:23
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 2:24
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
下午 2:25
17
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
下午 2:25

“记录不唯一”错误表明您的索引已损坏。您需要找到有关如何修复该问题的相关主题(主要是删除重复的标签)。

您是否同时使用了大写和小写的标签?(例如 mytag 和 myTag)

1 个赞

我不记得了,
有什么SSH命令可以列出已创建的标签吗?
但是,尽管我无法在新标签页中访问主页,但幸运的是,我的浏览器仍然保留了升级前的旧标签页,并且我仍然可以在主页上加载许多新主题。

您能导航到标签页面吗?

但是您需要手动解决数据库问题。最简单的办法就是删除重复的条目。

我认为在其他一些情况下,有一些关于如何操作的主题。

我认为您尝试重建索引,找到导致它失败的原因,然后删除它,一直这样做直到它正常工作。

我尝试访问标签页,但它不起作用。升级时出现了此错误。为什么论坛在不升级的情况下仍然正常工作?如何手动解决您的数据库问题?我是一名普通用户,不是开发人员 :frowning:

我不知道。也许有什么东西改变了,现在标签不区分大小写了?或者这可能是一个 bug。

但这看起来与标签不唯一有关:

这不是一个普通用户需要处理的任务。

1 个赞

And How about this error ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in output_MF’ app/controllers/`

Before, I use Remove Dashes from Tag Names. Are they the cause of duplicate Tags?

I access success to tag page:

There is all tags in tags page, And I didn’t find any pairs of duplicate tags

View tag page detail

Tag

Xếp theo: đếm tên


Đắc địa

Góc 2 mặt tiền x 70

Góc 3 mặt tiền x 2

Góc 4 mặt tiền x 1

Domains

Add Villa x 4

Mặt Bằng Kinh Doanh

Raise Building x 2

Dự án

Vinhomes Central Park x 1

Hướng

Bắc x 1

Đông x 1

Đông Bắc x 1

Đông Nam x 1

Nam x 1

Tây x 1

Tây Bắc x 1

Kinh doanh

24h x 3

Anh ngữ

Cafe x 7

Cây xăng x 1

Chuỗi x 58

Cửa hàng thực phẩm x 1

Điện thoại x 2

Game x 1

Giải trí x 6

Giao hàng x 1

Giặt ủi x 1

Giày dép x 3

Gym x 1

Hầm rựu x 1

Karaoke x 8

Mắt kính x 1

Nhà hàng x 10

Nha khoa x 2

Nhà sách x 2

Nhà thuốc x 3

Nội thất x 5

Phòng công chứng

Phòng khám x 2

Phòng thu x 1

Pizza x 2

Quán ăn x 2

Quán nhậu x 3

Salon x 1

Sang x 1

Showroom x 10

Siêu thị x 8

Spa x 3

Thời trang x 11

Thức ăn nhanh x 2

Tiệm net x 1

Trà sữa x 1

Trái cây x 1

Trang sức x 1

Trường học x 2

Văn phòng x 18

Xe hơi x 1

Xe máy x 2

Xì gà x 1

Loại BĐS

Biệt thự Villa x 20

Căn hộ chung cư x 27

Căn hộ dịch vụ x 1

Chung cư x 23

Đất x 11

Duplex

Kho xưởng x 1

Kiot vỉa hè

Mall

Mặt bằng Nhà phố x 361

Penhouse

Phòng trọ

Sân thượng x 1

ShophouseViet x 3

Tòa nhà x 3

Văn phòng x 18

Loại giao dịch

Bán x 47

Cần mua x 32

Cần thuê x 413

Cho thuê x 12942

Mặt tiền (m)

Ngang 10m x 632

Ngang 11m x 539

Ngang 12m x 553

Ngang 13m x 396

Ngang 14m x 403

Ngang 15m x 504

Ngang 16m x 332

Ngang 17m x 158

Ngang 18m x 262

Ngang 19m x 38

Ngang 20m x 445

Ngang 3m x 988

Ngang 4m x 1562

Ngang 5m x 907

Ngang 6m x 977

Ngang 7m x 978

Ngang 8m x 959

Ngang 9m x 976

Mục đích sử dụng

Đầu tư x 1

Để ở x 5

Kinh doanh x 392

tickets_priority

tickets_reason

tickets_status

TPHCM

Bình Chánh

Bình Tân x 1

Bình Thạnh x 2

Cần Giờ x 1

Củ Chi x 1

Gò Vấp x 1

Hóc Môn x 1

Nhà Bè x 1

Quận 1 x 2

Quận 10 x 1

Quận 11 x 1

Quận 12 x 2

Quận 2 x 1

Quận 3 x 1

Quận 4 x 1

Quận 5 x 1

Quận 6 x 1

Quận 7 x 1

Quận 8 x 1

Quận 9 x 1

Quận Phú Nhuận x 1

Tân Bình

Tân Phú x 1

Thủ Đức x 1

Trạng thái giao dịch

Chưa xác định x 1

Đã giao dịch x 2

Đang giao dịch x 1

Ngưng giao dịch x 1

Vị trí

Hẻm ngõ x 8

Mặt tiền x 12914

Nội bộ x 1

Các thẻ khác

3PN x 2

4 lầu x 1

Bán đất x 2

Bán nhà x 1

Bình Trị Đông A x 1

Cơ hội x 2

Có Video x 6

cv x 1

Đã cập nhật sổ hồng x 2

Đã đặt cọc x 1

Đà Nẵng x 1

Đất trống x 1

DT 10x24m x 1

DT 17x31m x 1

DT 4x16m x 1

DT 4X17M x 1

DT 4x18 x 1

DT 4x20 x 1

DT 5x15m x 1

DT 5x19m x 1

DT 6x28 x 1

DT 7x21m x 1

DT 8x15m x 1

DT 8x20m x 1

DT 8x22m x 1

DT 8x26m x 1

DT 9x41m x 1

DT đất 105m2 x 1

DT: 10x7m x 1

DT: 6x17m x 1

DTS 120m2

DTS 2880m2 x 1

DTSD 805m2 x 1

dự án x 1

Flycam x 1

Giá 100 tỷ x 1

Giá 108 tỷ x 1

Giá 110 tỷ x 1

Giá 130 tỷ x 1

Giá 150 tỷ x 3

Giá 180 tỷ x 1

Giá 200 tỷ x 1

Giá 218 tỷ x 1

Giá 220 tỷ x 1

Giá 26 tỷ x 1

Giá 27 tỷ x 1

Giá 28 tỷ x 3

Giá 31 tỷ x 1

Giá 34 tỷ x 1

Giá 35 tỷ x 1

Giá 36 tỷ x 1

Giá 43 tỷ x 1

Giá 48 tỷ x 1

Giá 53 tỷ x 1

Giá 55 tỷ x 1

Giá 60 tỷ x 2

Giá 63 tỷ x 1

Giá 7 tỷ x 1

Giá 70 tỷ x 1

Giá 74 tỷ x 1

Giá 76 tỷ x 1

Giá 79 tỷ x 1

Giá 80 triệu x 1

Giá 80 tỷ x 1

Giá 85 tỷ x 1

Giá đất 350 triệu m2 x 1

Giá thuê 50 triệu x 1

Giá thuê 50 triệu tháng x 1

Giá: 27 tỷ x 1

Giá: 29 tỷ x 1

Giá: 32 tỷ x 1

Giá: 39 tỷ x 1

Kết cấu 7 lầu x 1

Kết cấu trệt 7 lầu x 1

khách nhà bán x 1

Không thuê x 2

Khu cây xanh x 1

Loại BĐS x 2

Mặt bằng x 1

Mặt Bằng Đẹp x 69

Mặt tiền 17

Mặt tiền 4m x 1

Ngang 26m x 1

Ngang 29m x 1

Ngưng bán x 2

Ngưng cho thuê x 1

Nhà x 5

Nhà Bến Nghé x 1

Nhà phố x 5

Nhà VT x 1

Phân khúc 100 200 tỷ x 3

Phần khúc 100 200 tỷ x 1

Phân khúc 20 50 tỷ x 1

Phân khúc 200 300 tỷ x 1

Phân khúc 50 100 tỷ x 3

Phân khúc dưới 10 tỷ x 1

Phường 13 Phú Nhuận x 1

Phường 9 Quận 3

Phường Bến Nghé x 5

Phường Bến Thành x 174

Phường Cầu Kho x 1

Phường Cầu Ông Lãnh x 1

Phường Đa Kao x 2

Phường Nguyễn Thái Bình x 2

Phường Thảo Điền x 3

Phường Võ Thị Sáu x 2

Quy hoạch Nhà ở Đô Thị x 1

Sang nhượng x 2

Tân Định x 1

TDT 62m2

Thiết kế Decor x 14

Thuê bao x 1

Tòa nhà văn phòng x 2

TPHCM x 417

Trệt 2 lầu x 1

Việc làm x 13

Villa x 1

vnBuildings x 4

Võ Văn Kiệt x 1

VP x 1

Xuống giá x 1

I see 2 tag same “Phân” & “Phần”
Phân khúc 100 200 tỷ x 3
Phần khúc 100 200 tỷ x 1

i deleted this tag:
Phần khúc 100 200 tỷ x 1
But unstill not access Homepage :frowning:

2 个赞

由于这是一个 Theme component,您可以在组件选项卡中禁用它。不确定它是否会导致问题,因为据我所知,这些是客户端修改。这个组件尤其只是改变标签的外观。不过,测试一下以排除它并没有坏处。

而您的数据库是服务器端的。

1 个赞

是的!@Heliosurge 我访问了设置页面,关闭了所有主题组件并选择了默认主题。然后访问主页,但没有效果。

1 个赞

如果安全模式运行无效,那么如果您不熟悉/不习惯手动重建,您可能需要考虑在 Marketplace 中发帖。

我知道根据 @pfaffman 的说法,在这种情况下我需要寻求帮助。

您好,我可以使用哪些管理批量操作来删除(topic_id, tag_id)=(65105, 601)?

谢谢

1 个赞

我创建了主题 需要手动解决数据库问题,升级论坛后标签不唯一的错误,并得到了 @itsbhanusharma 的支持,但仍然找不到原因。

我恢复了 Vultr 服务器,这是我在 2024 年 4 月备份的。然后我恢复了 Dashboard .tar.gz 文件中的备份数据。但仍然出现上述相同的错误。似乎这个备份(.tar.gz 文件)存在相同的错误,尽管已恢复,但网站仍然无法访问。

我重新使用了 Vultr 服务器版本 044/2024,并一直开发内容至今。

今天,我访问了 admin/customize/site_texts/js.topic.read_more_MF?locale=en_GB

翻译内容

剩余主题
或浏览其他主题
查看最新主题

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
         =0 {}
        one {There is <a># unread</a>}
      other {There are <a># unread</a>}
    }
    { NEW, plural,
         =0 {}
        one { and <a># new</a> topic remaining,}
      other { and <a># new</a> topics remaining,}
    }
  }
  false {
    { UNREAD, plural,
         =0 {}
        one {There is <a># unread</a> topic remaining,}
      other {There are <a># unread</a> topics remaining,}
    }
    { NEW, plural,
         =0 {}
        one {There is <a># new</a> topic remaining,}
      other {There are <a># new</a> topics remaining,}
    }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { or browse other topics in {categoryLink}}
  false { or <a>view latest topics</a>}
  other {}
}

使用英语可以成功,但使用越南语时,我在设置中保存时会收到错误消息:
Error: The plural case one is not valid in this locale at line 4 col 15:

并且我在页面日志中发现了这个错误:

有什么关联吗?

您是否阅读过关于这些字符串如何翻译的主题?

为什么要在您的论坛上自定义文本?是翻译有误还是您只是偏好不同的措辞?

2 个赞

非常感谢您的教程,我阅读并按如下方式进行了编辑,显示成功:

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
        =0 {}
        other {有 # 条未读消息}
      }
    { NEW, plural,
        =0 {}
        other { and # new unread messages,}
      }
  }
  false {
    { UNREAD, plural,
        =0 {}
        other {有 # 条未读消息,}
      }
    { NEW, plural,
        =0 {}
        other {有 # 条新消息未读,}
      }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { or view other news in {categoryLink}}
  false { or {basePath}/latest}
  other {}
}
1 个赞