Bom dia,
Acabei de fazer uma nova instalação do Discourse aqui: https://club.magiaycardistry.com/
Quero adicionar um link para esta subcategoria no meu site principal: https://club.magiaycardistry.com/c/general/faq/13
O problema é que, se tento acessar o link deslogado, o site parece quebrar e falhar. Mas se eu acesso essa subcategoria pelo menu lateral, não há problema.
Aqui está um vídeo:
E aqui os erros do console:
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)
Sou novo no Discourse e posso ter feito algo errado.
Obrigado pela ajuda.
Julio.