( ! ) Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in G:\Rede\PHP\OLD\aulas\Alura\gerencimento-cursos\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php on line 70 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0139 | 475232 | {main}( ) | ...\listar-cursos.php:0 |
2 | 0.4662 | 3872872 | Doctrine\ORM\EntityRepository->findAll( ) | ...\listar-cursos.php:6 |
3 | 0.4662 | 3872872 | Doctrine\ORM\EntityRepository->findBy( $criteria = [], $orderBy = ???, $limit = ???, $offset = ??? ) | ...\EntityRepository.php:164 |
4 | 0.5546 | 4293048 | Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll( $criteria = [], $orderBy = NULL, $limit = NULL, $offset = NULL ) | ...\EntityRepository.php:181 |
5 | 0.6133 | 4309504 | Doctrine\DBAL\Connection->executeQuery( $query = 'SELECT t0.id AS id_1, t0.descricao AS descricao_2 FROM cursos t0', $params = [], $types = [], $qcp = ??? ) | ...\BasicEntityPersister.php:904 |
6 | 0.6133 | 4309504 | Doctrine\DBAL\Connection->connect( ) | ...\Connection.php:889 |
7 | 0.6133 | 4309504 | Doctrine\DBAL\Driver\PDOSqlite\Driver->connect( $params = ['driver' => 'pdo_sqlite', 'path' => 'G:\\Rede\\PHP\\OLD\\aulas\\Alura\\gerencimento-cursos\\src\\Infra/../../db.sqlite'], $username = NULL, $password = NULL, $driverOptions = [] ) | ...\Connection.php:356 |
8 | 0.6133 | 4309504 | Composer\Autoload\ClassLoader->loadClass( $class = 'Doctrine\\DBAL\\Driver\\PDOConnection' ) | ...\Driver.php:38 |
9 | 0.6135 | 4309664 | Composer\Autoload\includeFile( $file = 'G:\\Rede\\PHP\\OLD\\aulas\\Alura\\gerencimento-cursos\\vendor\\composer/../doctrine/dbal/lib/Doctrine/DBAL\\Driver\\PDOConnection.php' ) | ...\ClassLoader.php:428 |
10 | 0.6142 | 4320888 | include( 'G:\Rede\PHP\OLD\aulas\Alura\gerencimento-cursos\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php ) | ...\ClassLoader.php:571 |