Hi, i’m also having trouble with this PHP warning when i try to do upgrade checks:
php tools/upgrade.php check
I’m trying to upgrade OJS 3.2 to 3.4. In stack trace there is this info:
PHP 10. PKP\core\EntityDAO->convertFromDB($value = ‘en_US’, $type = ‘array’, $nullable = TRUE) /ojs-3.4/lib/pkp/classes/core/EntityDAO.php:108
PHP 11. PKP\db\DAO->convertFromDB($value = ‘en_US’, $type = ‘array’, $nullable = TRUE) /ojs-3.4/lib/pkp/classes/core/EntityDAO.php:313
PHP 12. unserialize($data = ‘en_US’) /ojs-3.4/lib/pkp/classes/db/DAO.php:338
I noticed that in OJS 3.2 config.inc.php i had:
locale = en_US
and now in OJS 3.4 this value is changed to:
locale = en
I tried both values but error is still present. Any advice on what to do? Thx.
Ragards.