here is a bug in the file "/usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php" line number 36.
the stack trace is below:
[25-Jul-2023 14:16:18 Asia/Shanghai] PHP Fatal error: Uncaught ValueError: Unknown format specifier "" in /usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php:36
Stack trace:
#0 /usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php(36): sprintf('% \xE5\xB9\xB4\xE5\x89\x8D', 2)
#1 /usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php(42): age(2, 'year')
#2 /usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php(110): my_age('1624877877')
#3 {main}
thrown in /usr/local/emhttp/plugins/dynamix.file.manager/include/Browse.php on line 36
source code is below:
function age($number,$time) {
return sprintf(_('%s '.($number==1 ? $time : $time.'s').' ago'),$number);
}
please fix it by:
function age($number,$time) {
return sprintf('%s '.($number==1 ? $time : $time.'s').' ago',$number);
}
or add php extension module "gettext". because of the syntax “_()” need it ! thanks !