Closed drkthunder02 closed 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.
Thanks for the info, project is PHP 7.4 currently. I'll work on 8.0 support before it's end of active support.
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)