Hi,
OJS 3.1.1-4
Multijournal
Multilanguage
We’re trying to upgrade our OJS from 3.1.1-4 to 3.3.0-6.
As this attempt resulted in failure during upgrade process (null values in locales and incorrect string values in email templates subjects) we tried to go through version 3.2.1.1 as a bridge upgrade.
But, we got the same error.
We skipped the one pertaining locales by:
update user_settings set locale = ‘es_ES’ where locale like ‘’ or locale is null;
update submissions set locale = ‘es_ES’ where locale like ‘’ or locale is null;
update author_settings set locale = ‘es_ES’ where locale like ‘’ or locale is null;
(Don’t like this, but we had no choice)
However, we have not been able to bypass the second error, pertaining email templates subjects.
We got the following error during upgrade process.
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xD9\x86\xD8\xB4\xD8\xA7...' for column 'subject' at row 1 in /var/www/html/revistas/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115
Stack trace:
#0 /var/www/html/revistas/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(115): PDOStatement->execute(NULL)
#1 /var/www/html/revistas/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(489): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /var/www/html/revistas/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}('INSERT INTO ema...', Array)
#3 /var/www/html/revistas/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\Database\Connection->runQueryCallback('INSERT INTO ema...', Array, Object(Closure))
#4 /var/www/html/revistas/lib/pkp/lib/vendor/laravel/framework/src/Illum in /var/www/html/revistas/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
Do you have any idea as why we are getting these errors?
Any help will be deeply appreciated.
Thanks in advance.
Regards,
Juan