您好,
我正在使用 Bitnami/Discourse Docker 镜像,我知道这不是 Discourse 团队官方支持的版本,但在 3.0.1 版本中遇到了一个问题。
在使用 discourse-local-dates 插件时——通过启用 discourse local dates enabled 来设置——网站加载失败并发出 tiippy 错误:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_tippy')
有人遇到过这种情况吗?
再次声明,我知道我使用的镜像不是官方支持的,但非常感谢任何帮助。
将 bitnami/discourse Helm chart 从 v8.1.8 升级到 10.0.5 时,我遇到了同样的问题。例如,我看到 forum.example.com/fake 返回“未找到页面”消息,但 forum.example.com 是一个空白屏幕,并且浏览器控制台日志显示:
popover.js:43
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_tippy')
at e.hidePopover (d-popover.js:43:1)
at b (index.js:209:1)
at e.trigger (evented.js:112:1)
at a.routeWillChange (router.js:177:1)
at a.notifyExistingHandlers (router_js.js:1721:1)
at a.getTransitionByIntent (router_js.js:1324:1)
at a.transitionByIntent (router_js.js:1247:1)
at a.doTransition (router_js.js:1366:1)
at a.handleURL (router_js.js:1760:1)
at e._doURLTransition (router.js:388:1)
at e.handleURL (router.js:384:1)
at e.handleURL (mapping-router.js:20:1)
at e.r [as handleURL] (index.js:388:1)
at e.startRouting (router.js:301:1)
at e.startRouting (instance.js:135:1)
at e.didBecomeReady (application.js:653:1)
at p.invoke (queue.ts:201:14)
at p.flush (queue.ts:98:13)
at h.flush (deferred-action-queues.ts:75:19)
at q._end (index.ts:616:32)
at _boundAutorunEnd (index.ts:257:12)
@stevejr 感谢您提供禁用 discourse-local-dates 插件的提示。希望我的团队实际上不需要该插件……
另外,供其他人参考,这是 GitHub 上的讨论帖,有更多讨论。