La file d'attente de révision fonctionne mal sur le thème 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 « J'aime »

Merci pour le rapport, mais je suis actuellement incapable de reproduire cela localement ou sur ce site.

Est-ce la route /review ?

Y a-t-il des composants de thème installés sur votre thème Horizon ?

3 « J'aime »

@RGJ je vous ping au cas où vous ne seriez pas au courant.

@nathank est-ce que vous rencontrez cela sur plusieurs sites, ou juste sur un seul ? Si c’est le cas, comme le dit tgx, je regarderais les composants de thème que vous avez activés pour ce thème particulier sur le site.

2 « J'aime »

C’est le plugin de conformité légale qui fait des siennes. Nous enquêtons.

EDIT : trouvé et corrigé, @nathank pourriez-vous essayer si le problème est résolu ?

4 « J'aime »

Oui, ça fonctionne parfaitement maintenant.

Merci à toute l’équipe Discourse (désolé de vous avoir dérangés inutilement) et à @RGJ !

3 « J'aime »

Ce sujet a été automatiquement fermé après 2 jours. Les nouvelles réponses ne sont plus autorisées.