Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70

Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs)

(1/1) FatalErrorException

Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs)

in PDOConnection.php line 70

Fatal error: Uncaught Error: Class "Doctrine\DBAL\Driver\PDOConnection" not found in /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:21 Stack trace: #0 /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect() #1 /usr/www/users/rizned/bergblick/vendor/pimcore/pimcore/lib/Db/PimcoreExtensionsTrait.php(43): Doctrine\DBAL\Connection->connect() #2 /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(420): Pimcore\Db\Connection->connect() #3 /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(380): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #4 /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(324): Doctrine\DBAL\Connection->detectDatabasePlatform() #5 /usr/www/users/rizned/bergblick/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(77): Doctrine\DBAL\Connection->getDatabasePlatform() #6 /usr/www/users/rizned/bergblick/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(50): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform() #7 /usr/www/users/rizned/bergblick/var/cache/dev/ContainerRhxhhiY/appAppKernelDevDebugContainer.php(748): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection() #8 /usr/www/users/rizned/bergblick/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(245): ContainerRhxhhiY\appAppKernelDevDebugContainer->getDoctrine_Dbal_DefaultConnectionService() #9 /usr/www/users/rizned/bergblick/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(225): Symfony\Component\DependencyInjection\Container->make() #10 /usr/www/users/rizned/bergblick/vendor/pimcore/pimcore/lib/Db.php(51): Symfony\Component\DependencyInjection\Container->get() #11 /usr/www/users/rizned/bergblick/vendor/pimcore/pimcore/lib/Pimcore.php(158): Pimcore\Db::get() #12 /usr/www/users/rizned/bergblick/vendor/pimcore/pimcore/lib/Pimcore.php(275): Pimcore::isInstalled() #13 /usr/www/users/rizned/bergblick/vendor/pimcore/pimcore/lib/Kernel.php(205): Pimcore::shutdown() #14 [internal function]: Pimcore\Kernel->Pimcore\{closure}() #15 {main} thrown in /usr/www/users/rizned/bergblick/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php on line 21