Closed KarelWintersky closed 9 months ago
Seems like a crash due to a Regex somewhere... Weird.
Can you set APP_DEBUG
to true
and give us the stack call of that one ?
Found, this is due to Russian language. Here is the incriminating line.
<?php echo sprintf(__("lychee.ABOUT_DESCRIPTION"), "https://LycheeOrg.github.io"); ?>
Patch is on its way.
due to Russian language.
due to incorrect russian translate.
'ABOUT_DESCRIPTION' => "<a target=\'_blank\' href=\'%s\'>Lychee</a> - это бесплатный фотоменеджер для Вашего сервера или хостинга. Установка занимает считанные секунды. Загружайте, редактируйте и делитесь фотографиями как в любимом приложении! Lychee обеспечит Вас всем необходимым, включая безопасность хранения Ваших фотографий! На русский язык перевёл Евгений Лебедев.",
Looks like the problem is the wrong quote. The string is written in double quotes, but in this case escaping the single quote is not required.
Thus, a line with a slash + quotation mark is inserted into the blade template, which may cause the error.
Correct code will be:
'ABOUT_DESCRIPTION' => "<a target='_blank' href='%s'>Lychee</a> - это бесплатный фотоменеджер для Вашего сервера или хостинга. Установка занимает считанные секунды. Загружайте, редактируйте и делитесь фотографиями как в любимом приложении! Lychee обеспечит Вас всем необходимым, включая безопасность хранения Ваших фотографий! На русский язык перевёл Евгений Лебедев.",
crap.
Detailed description of the problem [REQUIRED]
Steps to reproduce the issue
Clicked left bar -> about Lychee
Screenshots
Output of the diagnostics [REQUIRED]
Used latest release v
Browser and system
Debian 11, firefox