Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#676 -query: null }
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\API\SQLSrv\ExceptionConverter.php
(line 45)
2627 => new UniqueConstraintViolationException($exception, $query),2714 => new TableExistsException($exception, $query),3701,15151 => new DatabaseObjectNotFoundException($exception, $query),11001,18456 => new ConnectionException($exception, $query),default => new DriverException($exception, $query),};}}
ExceptionConverter->convert()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 1456)
private function handleDriverException(Driver\Exception $driverException,?Query $query,): DriverException {$this->exceptionConverter ??= $this->driver->getExceptionConverter();$exception = $this->exceptionConverter->convert($driverException, $query);if ($exception instanceof ConnectionLost) {$this->close();}
Connection->handleDriverException()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 1398)
}/** @internal */final public function convertException(Driver\Exception $e): DriverException{return $this->handleDriverException($e, null);}/*** @param list<mixed>|array<string, mixed> $params* @phpstan-param WrapperParameterTypeArray $types
Connection->convertException()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 224)
}try {$connection = $this->_conn = $this->driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {$this->beginTransaction();}
Connection->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
Connection->executeQuery()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php
(line 27)
/*** {@inheritDoc}*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
FinalizedSelectExecutor->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php
(line 296)
$sqlParams,$types,$this->em->getConnection()->getParams(),);return $executor->execute($this->em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
Query->_doExecute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 935)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
AbstractQuery->executeIgnoreQueryCache()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 891)
): mixed {if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
AbstractQuery->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 773)
* @throws NonUniqueResultException If the query result is not unique.* @throws NoResultException If the query returned no result.*/public function getSingleResult(string|int|null $hydrationMode = null): mixed{$result = $this->execute(null, $hydrationMode);if ($this->hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {throw new NoResultException();}
AbstractQuery->getSingleResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 802)
* @throws NoResultException If the query returned no result.* @throws NonUniqueResultException If the query result is not unique.*/public function getSingleScalarResult(): mixed{return $this->getSingleResult(self::HYDRATE_SINGLE_SCALAR);}/*** Sets a query hint. If the hint name is not recognized, it is silently ignored.*
AbstractQuery->getSingleScalarResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php
(line 46)
->from(ElectionDivision::class, 'd')->join(DivisionPresidentResult::class, 'pr', 'WITH', 'pr.division = d')->where('d.year = :year')->setParameter('year', $year)->getQuery()->getSingleScalarResult();}}
ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php
(line 41)
{$request = $event->getRequest();if ($this->requestMatcher->isFrontEnd($request)) {$year = $this->dateHelper->extractYearFromRequest($request) ?: intval($this->containerBag->all()['app_elections_year']);$divisions = $this->manager->getRepository(ElectionDivision::class)->getNumDivisionsWithPresidentResults($year);if (!str_contains($request->getRequestUri(), 'candidates/bar') && empty($divisions)) {$response = (new Response())->setStatusCode(Response::HTTP_OK)->setContent($this->twig->render('front_end/no_results.html.twig', [
RequestListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
WrappedListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
EventDispatcher->callListeners()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
EventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
TraceableEventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
HttpKernel->handleRaw()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
HttpKernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Kernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
HttpKernelRunner->run()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
in
C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Driver\PDO\ Exception
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
Exception::new()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\SQLSrv\Driver.php
(line 65)
$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);} catch (\PDOException $exception) {throw PDOException::new($exception);}return new Connection(new PDOConnection($pdo));}
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Logging\Driver.php
(line 30)
array $params,): Connection {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\Debug\Driver.php
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\IdleConnection\Driver.php
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $this->_conn = $this->driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
Connection->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
Connection->executeQuery()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php
(line 27)
/*** {@inheritDoc}*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
FinalizedSelectExecutor->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php
(line 296)
$sqlParams,$types,$this->em->getConnection()->getParams(),);return $executor->execute($this->em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
Query->_doExecute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 935)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
AbstractQuery->executeIgnoreQueryCache()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 891)
): mixed {if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
AbstractQuery->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 773)
* @throws NonUniqueResultException If the query result is not unique.* @throws NoResultException If the query returned no result.*/public function getSingleResult(string|int|null $hydrationMode = null): mixed{$result = $this->execute(null, $hydrationMode);if ($this->hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {throw new NoResultException();}
AbstractQuery->getSingleResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 802)
* @throws NoResultException If the query returned no result.* @throws NonUniqueResultException If the query result is not unique.*/public function getSingleScalarResult(): mixed{return $this->getSingleResult(self::HYDRATE_SINGLE_SCALAR);}/*** Sets a query hint. If the hint name is not recognized, it is silently ignored.*
AbstractQuery->getSingleScalarResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php
(line 46)
->from(ElectionDivision::class, 'd')->join(DivisionPresidentResult::class, 'pr', 'WITH', 'pr.division = d')->where('d.year = :year')->setParameter('year', $year)->getQuery()->getSingleScalarResult();}}
ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php
(line 41)
{$request = $event->getRequest();if ($this->requestMatcher->isFrontEnd($request)) {$year = $this->dateHelper->extractYearFromRequest($request) ?: intval($this->containerBag->all()['app_elections_year']);$divisions = $this->manager->getRepository(ElectionDivision::class)->getNumDivisionsWithPresidentResults($year);if (!str_contains($request->getRequestUri(), 'candidates/bar') && empty($divisions)) {$response = (new Response())->setStatusCode(Response::HTTP_OK)->setContent($this->twig->render('front_end/no_results.html.twig', [
RequestListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
WrappedListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
EventDispatcher->callListeners()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
EventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
TraceableEventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
HttpKernel->handleRaw()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
HttpKernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Kernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
HttpKernelRunner->run()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
in
C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
PDOException
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\PDOConnect.php
(line 22)
string $username,string $password,array $options,): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
PDO->__construct()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\PDOConnect.php
(line 22)
string $username,string $password,array $options,): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
Driver->doConnect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\SQLSrv\Driver.php
(line 58)
$safeParams = $params;unset($safeParams['password']);try {$pdo = $this->doConnect($this->constructDsn($safeParams, $dsnOptions),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Logging\Driver.php
(line 30)
array $params,): Connection {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\Debug\Driver.php
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
AbstractDriverMiddleware->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\IdleConnection\Driver.php
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
Driver->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $this->_conn = $this->driver->connect($this->params);} catch (Driver\Exception $e) {throw $this->convertException($e);}if ($this->autoCommit === false) {
Connection->connect()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php
(line 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
Connection->executeQuery()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php
(line 27)
/*** {@inheritDoc}*/public function execute(Connection $conn, array $params, array $types): Result{return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}}
FinalizedSelectExecutor->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php
(line 296)
$sqlParams,$types,$this->em->getConnection()->getParams(),);return $executor->execute($this->em->getConnection(), $sqlParams, $types);}/*** @param array<string,mixed> $sqlParams* @param array<string,Type> $types
Query->_doExecute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 935)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
AbstractQuery->executeIgnoreQueryCache()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 891)
): mixed {if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
AbstractQuery->execute()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 773)
* @throws NonUniqueResultException If the query result is not unique.* @throws NoResultException If the query returned no result.*/public function getSingleResult(string|int|null $hydrationMode = null): mixed{$result = $this->execute(null, $hydrationMode);if ($this->hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {throw new NoResultException();}
AbstractQuery->getSingleResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php
(line 802)
* @throws NoResultException If the query returned no result.* @throws NonUniqueResultException If the query result is not unique.*/public function getSingleScalarResult(): mixed{return $this->getSingleResult(self::HYDRATE_SINGLE_SCALAR);}/*** Sets a query hint. If the hint name is not recognized, it is silently ignored.*
AbstractQuery->getSingleScalarResult()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php
(line 46)
->from(ElectionDivision::class, 'd')->join(DivisionPresidentResult::class, 'pr', 'WITH', 'pr.division = d')->where('d.year = :year')->setParameter('year', $year)->getQuery()->getSingleScalarResult();}}
ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php
(line 41)
{$request = $event->getRequest();if ($this->requestMatcher->isFrontEnd($request)) {$year = $this->dateHelper->extractYearFromRequest($request) ?: intval($this->containerBag->all()['app_elections_year']);$divisions = $this->manager->getRepository(ElectionDivision::class)->getNumDivisionsWithPresidentResults($year);if (!str_contains($request->getRequestUri(), 'candidates/bar') && empty($divisions)) {$response = (new Response())->setStatusCode(Response::HTTP_OK)->setContent($this->twig->render('front_end/no_results.html.twig', [
RequestListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
WrappedListener->__invoke()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
EventDispatcher->callListeners()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
EventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
TraceableEventDispatcher->dispatch()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
HttpKernel->handleRaw()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
HttpKernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Kernel->handle()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
HttpKernelRunner->run()
in
C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
in
C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 00:47:30 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "354b78"
},
"request_uri": "https://elections.dev-1.olomeleia.gr/_profiler/354b78?panel=exception&type=request",
"method": "GET"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke". {
"event": "kernel.request",
"listener": "App\\EventListener\\RequestListener::__invoke"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller_arguments" to listener "Container9cO1oIL\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Container9cO1oIL\\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments"
}
|
| DEBUG 00:47:30 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
|
Stack Traces 3
|
[3/3]
ConnectionException
|
|---|
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[28000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'BarElec'.
at C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\API\SQLSrv\ExceptionConverter.php:45
at Doctrine\DBAL\Driver\API\SQLSrv\ExceptionConverter->convert()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:1456)
at Doctrine\DBAL\Connection->handleDriverException()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:1398)
at Doctrine\DBAL\Connection->convertException()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:224)
at Doctrine\DBAL\Connection->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:935)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:891)
at Doctrine\ORM\AbstractQuery->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:773)
at Doctrine\ORM\AbstractQuery->getSingleResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:802)
at Doctrine\ORM\AbstractQuery->getSingleScalarResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php:46)
at App\Repository\ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php:41)
at App\EventListener\RequestListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php:29)
at require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
(C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php:5)
|
|
[2/3]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[28000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'BarElec'.
at C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\Exception.php:24
at Doctrine\DBAL\Driver\PDO\Exception::new()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\SQLSrv\Driver.php:65)
at Doctrine\DBAL\Driver\PDO\SQLSrv\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Logging\Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\Debug\Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\IdleConnection\Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:935)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:891)
at Doctrine\ORM\AbstractQuery->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:773)
at Doctrine\ORM\AbstractQuery->getSingleResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:802)
at Doctrine\ORM\AbstractQuery->getSingleScalarResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php:46)
at App\Repository\ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php:41)
at App\EventListener\RequestListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php:29)
at require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
(C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[28000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'BarElec'.
at C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\PDOConnect.php:22
at PDO->__construct()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\PDOConnect.php:22)
at Doctrine\DBAL\Driver\PDO\SQLSrv\Driver->doConnect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\PDO\SQLSrv\Driver.php:58)
at Doctrine\DBAL\Driver\PDO\SQLSrv\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Logging\Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\Debug\Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Driver\Middleware\AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\doctrine-bridge\Middleware\IdleConnection\Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\dbal\src\Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query\Exec\FinalizedSelectExecutor.php:27)
at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\Query.php:296)
at Doctrine\ORM\Query->_doExecute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:935)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:891)
at Doctrine\ORM\AbstractQuery->execute()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:773)
at Doctrine\ORM\AbstractQuery->getSingleResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\doctrine\orm\src\AbstractQuery.php:802)
at Doctrine\ORM\AbstractQuery->getSingleScalarResult()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\Repository\ElectionDivisionRepository.php:46)
at App\Repository\ElectionDivisionRepository->getNumDivisionsWithPresidentResults()
(C:\inetpub\wwwroot\elections.olomeleia.gr\src\EventListener\RequestListener.php:41)
at App\EventListener\RequestListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\http-kernel\Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(C:\inetpub\wwwroot\elections.olomeleia.gr\vendor\autoload_runtime.php:29)
at require_once('C:\\inetpub\\wwwroot\\elections.olomeleia.gr\\vendor\\autoload_runtime.php')
(C:\inetpub\wwwroot\elections.olomeleia.gr\public\index.php:5)
|