Symfony Exception

FatalErrorException

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\Debug\Exception\ FatalErrorException

  1.     }
  2.     /**
  3.      * {@inheritdoc}
  4.      */
  5.     public function query()
  6.     {
  7.         $args func_get_args();
  8.         $argsCount count($args);
  9.         try {

Logs 2

Level Channel Message
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler::open($savePath, $sessionName) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler::read($sessionId) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler::write($sessionId, $data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler::destroy($sessionId) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler::validateId($sessionId) should either be compatible with SessionUpdateTimestampHandlerInterface::validateId(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler::updateTimestamp($sessionId, $data) should either be compatible with SessionUpdateTimestampHandlerInterface::updateTimestamp(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::open($savePath, $sessionName) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::read($sessionId) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::write($sessionId, $data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::destroy($sessionId) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::validateId($sessionId) should either be compatible with SessionUpdateTimestampHandlerInterface::validateId(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy::updateTimestamp($sessionId, $data) should either be compatible with SessionUpdateTimestampHandlerInterface::updateTimestamp(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:33 php Deprecated: Symfony\Component\Config\Resource\DirectoryResource implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
INFO 08:26:33 php Deprecated: Symfony\Component\DependencyInjection\Config\ContainerParametersResource implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
INFO 08:26:33 request Matched route "list_contrat_user".
INFO 08:26:33 php Deprecated: Symfony\Component\Security\Core\Authentication\Token\AnonymousToken implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
INFO 08:26:33 security Populated the TokenStorage with an anonymous Token.
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
DEBUG 08:26:33 event Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
INFO 08:26:33 php User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.
INFO 08:26:33 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:33 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:33 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:33 php Deprecated: Method ReflectionParameter::getClass() is deprecated
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG 08:26:33 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
DEBUG 08:26:33 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
INFO 08:26:33 php Deprecated: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
INFO 08:26:33 php Deprecated: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
INFO 08:26:34 php Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::exec($statement) should either be compatible with PDO::exec(string $statement): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::lastInsertId($name = null) should either be compatible with PDO::lastInsertId(?string $name = null): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::prepare($prepareString, $driverOptions = []) should either be compatible with PDO::prepare(string $query, array $options = []): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
CRITICAL 08:26:34 php Fatal Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Symfony\Component\VarDumper\Cloner\Data::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
CRITICAL 08:26:34 request Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false" at /home/ht2/public_html/p/e-hydro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 86
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
DEBUG 08:26:34 event Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
INFO 08:26:34 php Deprecated: Method ReflectionParameter::getClass() is deprecated
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG 08:26:34 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
DEBUG 08:26:34 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
INFO 08:26:34 php Deprecated: Return type of Assetic\Extension\Twig\ValueContainer::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Stack Trace

FatalErrorException

Symfony\Component\Debug\Exception\FatalErrorException:
Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false

  at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:86