헤더의 언어 선택기 때문에 빈 페이지가 표시됩니다

다음은 /logs에 표시되는 내용입니다:

Discourse AI: Errors during bulk classification: Failed to classify 98 posts (example ids: 1859, 1860, 2012, 1976, 1977) : ArgumentError : address cannot be nil or empty 9:06 pm 137  MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb 9:06 pm 137  MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb 9:06 pm 5  MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb 9:07 pm 5  MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

콘솔 로그:

[Error] Refused to apply a stylesheet because its hash, its nonce, or 'unsafe-inline' does not appear in the style-src directive of the Content Security Policy. (inner.html, line 1)
[Error] TypeError: null is not an object (evaluating 'styleElement.sheet.insertRule')
	handleMessage (advanced-script.js:262)
[Error] SyntaxError: JSON Parse error: Unexpected identifier "object"
	parse (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	eM (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20358)
	X (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:355:239649)
	T (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20337)
	eU (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:35846)
	create (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:37443)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:39997)
	evaluate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:27332)
	evaluateSyscall (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:73408)
	evaluateInner (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72970)
	evaluateOuter (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72889)
	next (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83857)
	_execute (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83720)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:60814)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64461)
	tA (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:68244)
	_renderRoots (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64361)
	_renderRootsTransaction (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64748)
	_revalidate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:65226)
	invoke (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5027)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:4111)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5987)
	_end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11037)
	end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:8163)
	_run (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11549)
[Error] SyntaxError: JSON Parse error: Unexpected identifier "object"
	parse (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	eM (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20358)
	X (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:355:239649)
	T (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20337)
	eU (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:35846)
	create (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:37443)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:39997)
	evaluate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:27332)
	evaluateSyscall (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:73408)
	evaluateInner (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72970)
	evaluateOuter (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72889)
	next (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83857)
	_execute (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83720)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:60814)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64461)
	tA (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:68244)
	_renderRoots (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64361)
	_renderRootsTransaction (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64748)
	_revalidate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:65226)
	invoke (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5027)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:4111)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5987)
	_end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11037)
	end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:8163)
	_run (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11549)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-solved-b31fb508.map, line 0)
[Error] SyntaxError: JSON Parse error: Unexpected identifier "object"
	parse (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	eM (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:409:36730)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20358)
	X (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:355:239649)
	T (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:91:20337)
	eU (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:35846)
	create (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:37443)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:39997)
	evaluate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:27332)
	evaluateSyscall (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:73408)
	evaluateInner (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72970)
	evaluateOuter (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:72889)
	next (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83857)
	_execute (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:83720)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:60814)
	(anonymous function) (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64461)
	tA (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:68244)
	_renderRoots (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64361)
	_renderRootsTransaction (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:64748)
	_revalidate (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:72:65226)
	invoke (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5027)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:4111)
	flush (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:5987)
	_end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11037)
	end (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:8163)
	_run (chunk.4e4f0fd5728c3ad657f3.d41d8cd9.br.js:314:11549)

웹사이트에 접속할 때 표시되는 내용을 녹화한 비디오입니다. 안전 모드(Safe Mode)에서는 정상적으로 작동합니다.

안녕하세요, MaxMindDB와는 관련이 없는 것 같습니다.

앱이 '로드’되었고 내비게이션 바가 보이기 때문에, 아마도 사용자 정의 설정 중 하나 때문일 수 있습니다. 먼저 하나씩 비활성화해 보신 건 없나요?

문제는 헤더 로케일 선택기라고 생각합니다.

@nat, JSON.parse가 갑자기 사이트를 깨뜨린다는 것이 바로 이 뜻이었습니다.

네! 이거였어요. 플러그인 스레드에서 이 문제를 언급해서 확인해볼 수 있도록 하겠습니다.

감사합니다 :slight_smile:

또한 유지보수가 되지 않는 것 같고, 이는 결코 좋은 일이 아닙니다.