QSong
Chevereto Member
▶ Reproduction steps
The website responds with a 500 error, unable to switch to Simplified Chinese.
📃 Error log message
[CODE title="Error log"]Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/troubleshoot/debug.html
Stack trace:
#0 /lib/G/classes/class.gettext.php(423): G\errorsAsExceptions()
#1 /lib/G/classes/class.gettext.php(521): G\Gettext->parsePOEntry()
#2 /lib/G/classes/class.gettext.php(181): G\Gettext->parsePOFile()
#3 /lib/G/classes/class.gettext.php(87): G\Gettext->parseFile()
#4 /app/lib/classes/class.l10n.php(208): G\Gettext->__construct()
#5 /app/routes/route.settings.php(60): CHV\L10n:😛rocessTranslation()
#6 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#7 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#8 /app/web.php(466): G\Handler->__construct()
#9 /app/loader.php(238): require_once('/app/web.php')
#10 /index.php(20): include_once('/app/loader.php')[/CODE]
- Switch from other languages to Simplified Chinese
The website responds with a 500 error, unable to switch to Simplified Chinese.
📃 Error log message
[CODE title="Error log"]Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/troubleshoot/debug.html
At /lib/G/classes/class.gettext.php:423> ErrorException [0]: Only the first byte will be assigned to the string offset
Stack trace:
#0 /lib/G/classes/class.gettext.php(423): G\errorsAsExceptions()
#1 /lib/G/classes/class.gettext.php(521): G\Gettext->parsePOEntry()
#2 /lib/G/classes/class.gettext.php(181): G\Gettext->parsePOFile()
#3 /lib/G/classes/class.gettext.php(87): G\Gettext->parseFile()
#4 /app/lib/classes/class.l10n.php(208): G\Gettext->__construct()
#5 /app/routes/route.settings.php(60): CHV\L10n:😛rocessTranslation()
#6 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#7 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#8 /app/web.php(466): G\Handler->__construct()
#9 /app/loader.php(238): require_once('/app/web.php')
#10 /index.php(20): include_once('/app/loader.php')[/CODE]
