JS 번역 오류로 인해 UI가 충돌합니다

오늘 업데이트한 이후로 시스템에 접근할 수 없습니다.
초기 로딩 화면에서 다음 오류로 인해 멈추고 있습니다:

index.js:301 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
    at s.lookup (index.js:301:19)
    at s.findTranslation (index.js:265:28)
    at s._translate (index.js:72:28)
    at s.<anonymous> (index.js:30:40)
    at Pe._deprecateDecoratingHamburgerWidgetLinks (plugin-api.js:545:44)
    at Pe.decorateWidget (plugin-api.js:522:10)
    at navigation.js:15:1
    at Oe (plugin-api.js:2614:12)
    at Object.initialize (navigation.js:14:1)
    at n.initialize (app.js:201:28)
    at index.js:126:1
    at e.each (dag-map.js:191:1)
    at e.walk (dag-map.js:120:1)
    at e.each (dag-map.js:66:1)
    at e.topsort (dag-map.js:72:1)
    at e._runInitializer (index.js:138:1)
    at e.runInstanceInitializers (index.js:124:1)
    at e._bootSync (instance.js:101:1)
    at e.didBecomeReady (application.js:656: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 $._end (index.ts:616:32)
    at _boundAutorunEnd (index.ts:257:12)

이 오류가 발생하는 원인이 다음 코드임을 발견했습니다:

define("discourse/plugins/navigation/discourse/initializers/navigation", ["exports", "discourse/lib/plugin-api"], function (_exports, _pluginApi) {
  "use strict";

  Object.defineProperty(_exports, "__esModule", {
    value: true
  });
  _exports.default = void 0;
  var _default = _exports.default = {
    name: 'navigation',
    hamburger_general: [],
    hamburger_footer: [],
    initialize(container) {
      var self = this;
      (0, _pluginApi.withPluginApi)('0.4', api => {
        api.decorateWidget("hamburger-menu:generalLinks", () => {
          return self.hamburger_general;
        });
        api.decorateWidget("hamburger-menu:footerLinks", () => {
          return self.hamburger_footer;
        });
        const store = container.lookup('store:main');
        store.findAll('menu-link').then(function (rs) {
          rs.content.forEach(function (l) {
            if (l.visible_hamburger_general) {
              self.hamburger_general.push({
                href: l.url,
                rawLabel: l.name
              });
            }
            if (l.visible_hamburger_footer) {
              self.hamburger_footer.push({
                href: l.url,
                rawLabel: l.name
              });
            }
          });
        });
      });
    }
  };
});

재빌드(rebuild) 후에도 문제가 여전히 남아 있어 어떻게 해결해야 할지 막막합니다.

안전 모드에서 사이트를 접근할 수 있나요?

햄버거 관련 테마 구성 요소에 문제가 있는 것 같습니다.

:smiley: 완벽하네요. 제가 찾고 있던 옵션이었고, 눈이 어둡게 되어 찾지 못했었네요. 이제 설정에서 무엇을 바꿔야 하는지 알 수 있습니다.

음, 해결책은 커스텀 메뉴 항목용 플러그인을 추가해 두었던 것이었습니다.
하지만 너무 오래된 플러그인이었고, 그 사실을 잊고 있었네요.

안전 모드로 승리! :medal_sports: :slight_smile: 해결하셨다니 다행이에요. :+1: