timthedevguy / BuySYS

*NO LONGER MAINTAINED* Buyback application for EveOnline, can be used by Corporations/Alliances or private entities. Written in PHP 7.4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDO Error

drkthunder02 opened this issue · comments

PHP Version 8.0

Clearing all cache entries!!
Repopulate with amsys:cache:update
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /var/www/BuySYS/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 86
00:38:12 CRITICAL [php] Fatal Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) ["exception" => Symfony\Component\Debug\Exception\FatalErrorException { …}]

In PDOConnection.php line 86:

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

Fixed the issue for now by rolling back the CLI version of php to 7.4. CLI was running 8.0 instead of 7.4.

Thanks for the info, project is PHP 7.4 currently. I'll work on 8.0 support before it's end of active support.