OJS 3.4.0.5 Locale error

daanlessing
Wed, 26 Mar 2025 13:00:29 +0000
Software Support

Good day all,

I am using OJS 3.4.0.5 on an Ubuntu 24.04 LTS machine. I have moved my journal site to this new machine but now I get the error message in my apache log files.

I reinstalled the language locale in the sites settings, installed the locale on Ubuntu and reconfigured the package, but I am still getting the same error.

Any help would be much appreaciated

Kind regards,
Daan

Got error ‘PHP message: InvalidArgumentException: Invalid/unsupported locale “pt_PT”, default locale restored in /var/www/xxxxx/lib/pkp/classes/i18n/Locale.php:141\nStack trace:\n#0 /var/www/xxxxx/lib/pkp/classes/i18n/Locale.php(130): PKP\i18n\Locale->setLocale()\n#1 /var/www/xxxxx/lib/pkp/classes/i18n/Locale.php(419): PKP\i18n\Locale->getLocale()\n#2 /var/www/xxxxx/lib/pkp/classes/i18n/Locale.php(105): PKP\i18n\Locale->translate()\n#3 /var/www/xxxxx/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(938): PKP\i18n\Locale->get()\n#4 /var/www/xxxxx/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(973): trans()\n#5 /var/www/xxxxx/plugins/themes/default/DefaultThemePlugin.php(45): __()\n#6 /var/www/xxxxx/lib/pkp/classes/plugins/ThemePlugin.php(130): APP\plugins\themes\default\DefaultThemePlugin->init()\n#7 [internal function]: PKP\plugins\ThemePlugin->themeRegi…’, referer: https://xxxxx/index.php/adry/article/view/392?articlesBySimilarityPage=5

1 post - 1 participant