timthedevguy / BuySYS

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

PDO Error #28

Closed drkthunder02 closed 3 years ago

drkthunder02 commented 3 years ago

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)

drkthunder02 commented 3 years ago

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.

timthedevguy commented 3 years ago

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