The discussion revolves around a recurring TypeError: Cannot read properties of null (reading 'en') error affecting multiple theme components on a Discourse forum. Jagster reports that several components—including Dark-Light Toggle, User Menu Quick Logout, User Portfolio, Categories Navbar, Toggle Whisper, Topic List Previews, Sidebar Theme Toggle, Offline Indicator, Discourse Composer Footnote Button, DiscoTOC, discourse-search-banner, and Discourse Kanban—are throwing the same error. The issue appears to stem from a missing or null ‘en’ property, likely related to localization. Joshhabka references a related Meta Discourse thread (https://meta.discourse.org/t/discourse-stuck-on-loading-logs/361603) that may address the root cause. Sam confirms the linked issue was resolved and suggests closing this one, indicating the problem is likely fixed.
Several theme components are giving this to error log. Scary, caring or no bother?
Message
Dark-Light Toggle theme/component is throwing errors:
TypeError: Cannot read properties of null (reading 'en')
Backtrace
TypeError: Cannot read properties of null (reading 'en')
at Object.initialize (https://foorumi.katiska.eu/theme-javascripts/92797a07aed2d6fbf5516744df323979636ce2b5.js?__ws=foorumi.katiska.eu:5:51)
at n.initialize (https://cdnfoorumi.katiska.eu/assets/chunk.539f39cb06cf0acef810.br.js:2:333868)
at https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:274204
at e.each (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:455828)
at e.walk (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:454844)
at e.each (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:454197)
at e.topsort (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:454243)
at e._runInitializer (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:274529)
at e.runInitializers (https://cdnfoorumi.katiska.eu/assets/vendor.ebcffa63b65b920d5cfc189685c4d511-cd53f38a5ad23a4ddfa97ff23cda9bb0c96e8e22feff0d58d2409d2b3683e3b6.br.js:21:274162)
Env
HTTP HOSTS: foorumi.katiska.eu