Aufgrund eines JavaScript-Fehlers kann nicht geantwortet werden [Quick Quote Theme-Komponente]

Nach dem letzten Update von Discourse Core ist bei uns ein Problem aufgetreten, bei dem es keine Möglichkeit gibt, auf ein bestehendes Thema zu antworten.

Ich habe hier ein Video erstellt: here.

Der Fehler, den ich erhalte, ist:

Uncaught (in promise) Error: Cannot read properties of undefined (reading '_RUNTIME_')
    at G (YF7WRCK5.js:1:8735)
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._join (index.ts:646:21)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at e.replyToPost (index.js:665:1)
    at n._sendComponentAction (widget.js:275:1)
    at widget.js:319:1
    at n.rerenderResult (widget.js:291:1)
    at n.sendWidgetAction (widget.js:314:1)
    at n.click (button.js:122:1)
    at hooks.js:222:1
    at hooks.js:188:1
    at n.rerenderResult (widget.js:291:1)
    at S (hooks.js:188:1)
    at HTMLDocument.<anonymous> (hooks.js:222:1)
    at HTMLDocument.dispatch (jquery.js:5135:1)
    at g.handle (jquery.js:4939:1)
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._run (index.ts:665:23)
    at q._join (index.ts:640:19)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at index.js:665:1
    at y._triggerAction (d-button.js:180:1)
    at y.click (d-button.js:144:1)
deprecate-shim.js:33 DEPRECATION: The <discourse@component:plugin-connector::ember81>#attrs computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://deprecations.emberjs.com/v3.x#toc_computed-property-override for more details.
(anonymous) @ deprecate-shim.js:33
deprecate-shim.js:33 DEPRECATION: The <discourse@component:plugin-connector::ember82>#attrs computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://deprecations.emberjs.com/v3.x#toc_computed-property-override for more details.
(anonymous) @ deprecate-shim.js:33
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._join (index.ts:646:21)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at e.replyToPost (index.js:665:1)
    at n._sendComponentAction (widget.js:275:1)
    at widget.js:319:1
    at n.rerenderResult (widget.js:291:1)
    at n.sendWidgetAction (widget.js:314:1)
    at n.click (button.js:122:1)
    at hooks.js:222:1
    at hooks.js:188:1
    at n.rerenderResult (widget.js:291:1)
    at S (hooks.js:188:1)
    at HTMLDocument.<anonymous> (hooks.js:222:1)
    at HTMLDocument.dispatch (jquery.js:5135:1)
    at g.handle (jquery.js:4939:1)

Kann mir hier jemand helfen? =) Vielen Dank!

Es scheint, als ob es aus irgendeinem Grund keine Benutzerhinweise mag. Ich kann dies auf meiner Testseite nicht reproduzieren. Funktioniert es im abgesicherten Modus?

2 „Gefällt mir“

Hallo @Festinger

Diese Datei existiert nicht im Discourse-Kern, daher denke ich, dass es sich um ein Problem mit einem Theme/Plugin handeln muss. Haben Sie Quick Quote Theme Component installiert? Wenn ja, könnten Sie es bitte deaktivieren und sehen, ob es hilft?

(cc @merefield - es sieht so aus, als ob dieses Theme nach einigen neueren Kernänderungen einige Anpassungen benötigen könnte)

4 „Gefällt mir“

Danke, @JammyDodger — es hat funktioniert und es hing tatsächlich mit einer Theme-Komponente zusammen.

@david – Ich bin wirklich froh, dass dies die Ursache des Problems war. Ich habe die Theme-Komponente deaktiviert und das Problem scheint behoben zu sein. Vielen Dank und hoffentlich kann @merefield eine Lösung anbieten. =)

4 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.