Hi OsTeam,
I have an error when choosing the main language and I want to switch to "French".
I have the following errors :
- Fatal error: Uncaught ValueError: Path cannot be empty in /var/www/html/support.cerfrance.fr/include/class.translation.php:568
- Stack trace:
- #0 /var/www/html/support.cerfrance.fr/include/class.translation.php(352): Translation->load_tables()
- #1 /var/www/html/support.cerfrance.fr/include/class.translation.php(380): gettext_reader->get_plural_forms()
- #2 /var/www/html/support.cerfrance.fr/include/class.translation.php(414): gettext_reader->select_string()
- #3 /var/www/html/support.cerfrance.fr/include/class.i18n.php(576): gettext_reader->ngettext()
- #4 /var/www/html/support.cerfrance.fr/include/staff/settings-system.inc.php(118): _N()
- #5 /var/www/html/support.cerfrance.fr/scp/settings.php(57): include_once('...')
- #6 {main}
- thrown in /var/www/html/support.cerfrance.fr/include/class.translation.php on line 568
I have to go into the database to modify the "system_language" key of the "ost_config" table, to remove "fr" to add "en_US", to switch back to English.
I also reloaded the fr.phar file
Do you have a lead?