您好,
我在这里新安装了 Discourse:https://club.magiaycardistry.com/
我想在我的主网站上添加一个指向此子类别的链接:https://club.magiaycardistry.com/c/general/faq/13
问题是,如果我尝试在未登录的情况下访问该链接,网站似乎会崩溃并出现故障。但是,如果我通过侧边栏菜单访问该子类别,则没有问题。
这是视频:
这是控制台错误:
TypeError: Cannot read properties of undefined (reading 'find')
at e.setupController (build-category-route.js:116:1)
at e.setup (route.js:791:1)
at s (router_js.js:1514:1)
at l.routeEnteredOrUpdated (router_js.js:1524:1)
at l.setupContexts (router_js.js:1470:1)
at l.finalizeTransition (router_js.js:1378:1)
at router_js.js:1321:1
at y (rsvp.js:435:1)
at v (rsvp.js:421:1)
at p.invoke (queue.ts:203: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)
error @ application.js:78
router.js:1064 Error while processing route: discovery.category Cannot read properties of undefined (reading 'find') TypeError: Cannot read properties of undefined (reading 'find')
at e.setupController (https://club.magiaycardistry.com/assets/discourse-ff773a6a7f76fb963664b1127e38b3761b6b158e4bc255aa479efe069faaba37.js:7193:85)
at e.setup (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:1611:63)
at s (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4221:141)
at l.routeEnteredOrUpdated (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4221:225)
at l.setupContexts (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4220:41)
at l.finalizeTransition (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4212:13)
at https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4205:243
at y (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4286:12)
at v (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4284:128)
at p.invoke (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4373:192)
at p.flush (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4365:141)
at h.flush (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4380:207)
at q._end (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4444:9)
at _boundAutorunEnd (https://club.magiaycardistry.com/assets/vendor-193f5cd259e36a4d2a864bbb1b9e24ea91298f102a56e7119b2fd7cb5c04cf42.js:4392:595)
(anonymous) @ router.js:1064
build-category-route.js:116 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'find')
at e.setupController (build-category-route.js:116:1)
at e.setup (route.js:791:1)
at s (router_js.js:1514:1)
at l.routeEnteredOrUpdated (router_js.js:1524:1)
at l.setupContexts (router_js.js:1470:1)
at l.finalizeTransition (router_js.js:1378:1)
at router_js.js:1321:1
at y (rsvp.js:435:1)
at v (rsvp.js:421:1)
at p.invoke (queue.ts:203: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)
我是 Discourse 新手,可能做错了什么。
感谢您的帮助。
Julio。