OJS upgrade error "Unknown locale component"

Hello,
I’m getting the messages below during “setFileName” upgrade step.

[code: Installer Installer::setFileName]
PHP Notice:  unserialize(): Error at offset 1171 of 1399 bytes in /home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in /home/periodicosteste3/public_html/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in /home/periodicosteste3/public_html/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in /home/periodicosteste3/public_html/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Notice:  unserialize(): Error at offset 3851 of 4481 bytes in /home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1401 of 1407 bytes in /home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 78 of 5245 bytes in /home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 180 of 852 bytes in 
 home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 224 of 1694 bytes in /home/periodicosteste3/public_html/lib/pkp/classes/db/DAO.inc.php on line 352
<h1>Unknown locale component </h1>ojs2: Unknown locale component

After debbuging I found that it was caused by NULL values on the column articles.locale. We’ve fixed the locale and the upgrade passed this step.

1 Like

@GustavoTonini this column belong to what table?

It’s the column “locale” from “articles” table.