Horizen 主题的审核队列出现故障

When using the Review Queue for a flagged topic on the Horizon theme, the page malfunctions and I get some very strange errors in the console.

First, the dropdown selections at the bottom of the flagged post are not working. They display, but the Yes and Ignore buttons do not reveal a dropdown. The No button still works, but the page hangs afterwards.

Switching to the default theme makes these problems go away, so it seems to be a theme issue. This is hosted on communiteq.com on latest.

Here is the console log:

app.js:271 ℹ️ Discourse v3.6.0.beta1 — https://github.com/discourse/discourse/commits/d63a24313a — Ember v6.6.0
deprecate.js:72 DEPRECATION: Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. \[deprecation id: importing-inject-from-ember-service\] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
deprecate.js:72 DEPRECATION: Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. \[deprecation id: importing-inject-from-ember-service\] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
deprecated.js:62 \[THEME 4 ‘Inline PDF Previews’\] Deprecation notice: Accessing `site.mobileView` or `site.desktopView` during the site initialization can lead to errors and inconsistencies when the browser window is resized. Please move these checks to a component, transformer, or API callback that executes during page rendering. \[deprecated since Discourse 3.5.0.beta9-dev\] \[deprecation id: discourse.static-viewport-initialization\] \[info: https://meta.discourse.org/t/367810\]
a @ deprecated.js:62
deprecate.js:72 DEPRECATION: \[PLUGIN z-communiteq-features\] Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. \[deprecation id: importing-inject-from-ember-service\] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
deprecate.js:72 DEPRECATION: \[PLUGIN z-communiteq-features\] Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. \[deprecation id: importing-inject-from-ember-service\] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
site.js:216 ✅  Using the new ‘glimmer’ post stream!
deprecate.js:72 DEPRECATION: \[PLUGIN discourse-legal-compliance\] Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. \[deprecation id: importing-inject-from-ember-service\] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
index.js:51 Uncaught (in promise) TypeError: Invalid value used as weak map key
at WeakMap.set ()
at p.helper (index.js:51:71)
at m (index.js:89:20)
at index.js:253:60
at w (index.js:266:7)
at o (index.js:1210:5)
at index.js:636:33
at S.compile (index.js:448:14)
at x (index.js:461:43)
at index.js:935:11
at V (index.js:979:3)
at index.js:1084:5
at index.js:178:11
at w (index.js:192:7)
at o (index.js:1210:5)
at index.js:1083:30
at S.compile (index.js:448:14)
at index.js:1212:49
at index.js:1214:1
at ei.compile (index.js:1193:5)
at tH.compile (index.js:3771:31)
at Object.evaluate (index.js:506:25)
at Object.evaluate (index.js:103:106)
at tr.evaluateSyscall (index.js:2873:20)
at tr.evaluateInner (index.js:2852:64)
at tr.evaluateOuter (index.js:2849:10)
at tH.next (index.js:4167:45)
at tH.\_execute (index.js:4157:21)
at tH.execute (index.js:4133:41)
at tj.handleException (index.js:3450:19)
at tR.handleException (index.js:3592:52)
at tF.throw (index.js:3414:16)
at G.evaluate (index.js:565:42)
at tF.\_execute (index.js:3401:34)
at tF.execute (index.js:3393:17)
at tU.rerender (index.js:3610:8)
at tq.render (index-BCp6wOJU.js:4639:55)
at index-BCp6wOJU.js:4934:16
at eX (index.js:2414:7)
at tG.\_renderRoots (index-BCp6wOJU.js:4914:7)
at tG.\_renderRootsTransaction (index-BCp6wOJU.js:4962:12)
at tG.\_revalidate (index-BCp6wOJU.js:4995:10)
at invoke (index.js:262:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at index.js:499:12
container.gjs:270 Uncaught TypeError: Cannot read properties of null (reading ‘postStream’)
at R.calculatePosition (container.gjs:270:30)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at R. (index.js:250:23)
at R.postScrolled (container.gjs:413:10)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at r. (index.js:250:23)
at q (cache-fCezwMOy.js:471:12)
at r.trigger (evented.js:68:5)
at J.currentPostScrolled (topic.js:541:20)
at #rT (post-stream-viewport-tracker.js:723:30)
at #rS (post-stream-viewport-tracker.js:759:35)
at invoke (index.js:264:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at q.end (index.js:565:10)
at q.\_runExpiredTimers (index.js:869:12)
container.gjs:270 Uncaught TypeError: Cannot read properties of null (reading ‘postStream’)
at R.calculatePosition (container.gjs:270:30)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at R. (index.js:250:23)
at R.postScrolled (container.gjs:413:10)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at r. (index.js:250:23)
at q (cache-fCezwMOy.js:471:12)
at r.trigger (evented.js:68:5)
at J.currentPostScrolled (topic.js:541:20)
at #rT (post-stream-viewport-tracker.js:723:30)
at #rS (post-stream-viewport-tracker.js:759:35)
at invoke (index.js:264:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at q.end (index.js:565:10)
at q.\_runExpiredTimers (index.js:869:12)
calculatePosition @ container.gjs:270
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
postScrolled @ container.gjs:413
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
q @ cache-fCezwMOy.js:471
trigger @ evented.js:68
currentPostScrolled @ topic.js:541
#rT @ post-stream-viewport-tracker.js:723
#rS @ post-stream-viewport-tracker.js:759
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_later @ index.js:823
debounce @ index.js:680
C @ index.js:713
r @ debounce.js:26
#rp @ post-stream-viewport-tracker.js:897
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_reinstallTimerTimeout @ index.js:896
debounce @ index.js:701
C @ index.js:713
r @ debounce.js:26
onScroll @ post-stream-viewport-tracker.js:573
\_run @ index.js:804
\_join @ index.js:783
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
container.gjs:270 Uncaught TypeError: Cannot read properties of null (reading ‘postStream’)
at R.calculatePosition (container.gjs:270:30)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at R. (index.js:250:23)
at R.postScrolled (container.gjs:413:10)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at r. (index.js:250:23)
at q (cache-fCezwMOy.js:471:12)
at r.trigger (evented.js:68:5)
at J.currentPostScrolled (topic.js:541:20)
at #rT (post-stream-viewport-tracker.js:723:30)
at #rS (post-stream-viewport-tracker.js:759:35)
at invoke (index.js:264:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at q.end (index.js:565:10)
at q.\_runExpiredTimers (index.js:869:12)
calculatePosition @ container.gjs:270
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
postScrolled @ container.gjs:413
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
q @ cache-fCezwMOy.js:471
trigger @ evented.js:68
currentPostScrolled @ topic.js:541
#rT @ post-stream-viewport-tracker.js:723
#rS @ post-stream-viewport-tracker.js:759
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_later @ index.js:823
debounce @ index.js:680
C @ index.js:713
r @ debounce.js:26
#rp @ post-stream-viewport-tracker.js:897
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_reinstallTimerTimeout @ index.js:896
debounce @ index.js:701
C @ index.js:713
r @ debounce.js:26
onScroll @ post-stream-viewport-tracker.js:573
\_run @ index.js:804
\_join @ index.js:783
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
container.gjs:270 Uncaught TypeError: Cannot read properties of null (reading ‘postStream’)
at R.calculatePosition (container.gjs:270:30)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at R. (index.js:250:23)
at R.postScrolled (container.gjs:413:10)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at r. (index.js:250:23)
at q (cache-fCezwMOy.js:471:12)
at r.trigger (evented.js:68:5)
at J.currentPostScrolled (topic.js:541:20)
at #rT (post-stream-viewport-tracker.js:723:30)
at #rS (post-stream-viewport-tracker.js:759:35)
at invoke (index.js:264:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at q.end (index.js:565:10)
at q.\_runExpiredTimers (index.js:869:12)
calculatePosition @ container.gjs:270
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
postScrolled @ container.gjs:413
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
q @ cache-fCezwMOy.js:471
trigger @ evented.js:68
currentPostScrolled @ topic.js:541
#rT @ post-stream-viewport-tracker.js:723
#rS @ post-stream-viewport-tracker.js:759
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_later @ index.js:823
debounce @ index.js:680
C @ index.js:713
r @ debounce.js:26
#rp @ post-stream-viewport-tracker.js:897
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_reinstallTimerTimeout @ index.js:896
debounce @ index.js:701
C @ index.js:713
r @ debounce.js:26
onScroll @ post-stream-viewport-tracker.js:573
\_run @ index.js:804
\_join @ index.js:783
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
container.gjs:270 Uncaught TypeError: Cannot read properties of null (reading ‘postStream’)
at R.calculatePosition (container.gjs:270:30)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at R. (index.js:250:23)
at R.postScrolled (container.gjs:413:10)
at q.\_join (index.js:788:21)
at q.join (index.js:605:17)
at p (index.js:152:22)
at r. (index.js:250:23)
at q (cache-fCezwMOy.js:471:12)
at r.trigger (evented.js:68:5)
at J.currentPostScrolled (topic.js:541:20)
at #rT (post-stream-viewport-tracker.js:723:30)
at #rS (post-stream-viewport-tracker.js:759:35)
at invoke (index.js:264:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at q.\_end (index.js:762:32)
at q.end (index.js:565:10)
at q.\_runExpiredTimers (index.js:869:12)
calculatePosition @ container.gjs:270
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
postScrolled @ container.gjs:413
\_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
q @ cache-fCezwMOy.js:471
trigger @ evented.js:68
currentPostScrolled @ topic.js:541
#rT @ post-stream-viewport-tracker.js:723
#rS @ post-stream-viewport-tracker.js:759
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_later @ index.js:823
debounce @ index.js:680
C @ index.js:713
r @ debounce.js:26
#rp @ post-stream-viewport-tracker.js:897
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
\_end @ index.js:762
end @ index.js:565
\_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
\_installTimerTimeout @ index.js:912
\_reinstallTimerTimeout @ index.js:896
debounce @ index.js:701
C @ index.js:713
r @ debounce.js:26
onScroll @ post-stream-viewport-tracker.js:573
\_run @ index.js:804
\_join @ index.js:783
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250

3 个赞

感谢您的报告,但我目前无法在本地或在此网站上重现此问题。

这是 /review 路由吗?

您的 Horizon 主题是否安装了主题组件?

3 个赞

@RGJ 提醒您,以防您不知道。\n\n@nathank 您是在多个网站上遇到此问题,还是只有一个网站?如果是这样,就像 tgx 说的那样,我会查看您在该网站上为特定主题启用的主题组件。

2 个赞

是合规性插件出了问题。我们正在调查。

编辑:已找到并修复,@nathank 你能试试问题是否解决了?

4 个赞

是的,现在运行得很完美。

感谢 Discourse 团队(抱歉不必要地打扰你们)和 @RGJ

3 个赞

此主题已在 2 天后自动关闭。不再允许回复。