Hi, I keep receiving these errors too.
PHP 7.2; OJS 3.2.1-4
[13-Mar-2021 19:56:37 UTC] PHP Fatal error: Uncaught PDOException: could not find driver in /home/denqgtqu/public_html/ojs/lib/pkp/lib/vendor/illuminate/database/Connectors/Connector.php:70
I tried using PHP 7.3 ( as mentioned here) but raised another error
[13-Mar-2021 20:02:26 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PKP\Services\json_decode() in /home/denqgtqu/public_html/ojs/lib/pkp/classes/services/PKPSchemaService.inc.php:56
Hi @asmecher , I updated this post because there was an error config.inc.php. Now, with the file set up correctly,
this is the error that is appearing:
PHP Fatal error: Uncaught PDOException: SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "" in /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115
Stack trace:
#0 /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(115): PDOStatement->execute(NULL)
#1 /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/PostgresConnector.php(68): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/PostgresConnector.php(36): Illuminate\Database\Connectors\PostgresConnector->configureEncoding(Object(Doctrine\DBAL\Driver\PDOConnection), Array)
#3 /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\PostgresConnector->connect(Array)
#4 [internal function]: Illuminate\Database\Connect in /var/www/ojs-3.3.0-4/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
I didn’t find any other equivalent post with this error.
I upgraded the php from 7.1 to 7.3 recently. Is there a module missing? The json was already installed.