Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#7431 -query: null }
1227,1370,1429,2002,2005,2054 => new ConnectionException($exception, $query),2006,4031 => new ConnectionLost($exception, $query),1048,1121,1138,
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1453)
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();}
in
vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1395)
}/** @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
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(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();}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 790)
): 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);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 738)
): object|null {$this->switchPersisterContext(null, $limit);$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);if ($entity !== null) {$hints[Query::HINT_REFRESH] = true;$hints[Query::HINT_REFRESH_ENTITY] = $entity;}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 125)
*/public function findOneBy(array $criteria, array|null $orderBy = null): object|null{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->load($criteria, null, null, [], null, 1, $orderBy);}/*** Counts entities by a set of criteria.*
in
vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php
->
findOneBy
(line 37)
return $this->findOneBy(['hostname' => $hostname], self::ORDER_BY);}public function findOneEnabledByHostname(string $hostname): ?ChannelInterface{return $this->findOneBy(['hostname' => $hostname, 'enabled' => true], self::ORDER_BY);}public function findOneByCode(string $code): ?ChannelInterface{return $this->findOneBy(['code' => $code], self::ORDER_BY);
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php
->
findOneEnabledByHostname
(line 32)
public function findChannel(Request $request): ?ChannelInterface{$hostname = $request->getHost();$channel = $this->channelRepository->findOneEnabledByHostname($hostname);if (null !== $channel || !in_array($hostname, self::LOCALHOST_EQUIVALENTS, true)) {return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php
->
findChannel
(line 38)
}public function findChannel(Request $request): ?ChannelInterface{foreach ($this->requestResolvers as $requestResolver) {$channel = $requestResolver->findChannel($request);if (null !== $channel) {return $channel;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
findChannel
(line 39)
}}private function getChannelForRequest(Request $request): ChannelInterface{$channel = $this->requestResolver->findChannel($request);$this->assertChannelWasFound($channel);return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
getChannelForRequest
(line 31)
}public function getChannel(): ChannelInterface{try {return $this->getChannelForRequest($this->getMainRequest());} catch (\UnexpectedValueException $exception) {throw new ChannelNotFoundException(null, $exception);}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php
->
getChannel
(line 38)
public function getChannel(): ChannelInterface{foreach ($this->channelContexts as $channelContext) {try {return $channelContext->getChannel();} catch (ChannelNotFoundException) {continue;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php
->
getChannel
(line 44)
throw $this->requestToExceptionMap[$objectIdentifier];}try {if (!isset($this->requestToChannelMap[$objectIdentifier])) {$this->requestToChannelMap[$objectIdentifier] = $this->decoratedChannelContext->getChannel();}return $this->requestToChannelMap[$objectIdentifier];} catch (ChannelNotFoundException $exception) {$this->requestToExceptionMap[$objectIdentifier] = $exception;
in
vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php
->
getChannel
(line 50)
public function getDefaultLocaleCode(): string{try {/** @var ChannelInterface $channel */$channel = $this->channelContext->getChannel();return $channel->getDefaultLocale()->getCode();} catch (ChannelNotFoundException) {return $this->defaultLocaleCode;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php
->
getDefaultLocaleCode
(line 47)
throw new LocaleNotFoundException('No main request available.');}if ([] === $this->availableLocalesCodes) {$this->availableLocalesCodes = array_unique(array_merge([$this->localeProvider->getDefaultLocaleCode()],$this->localeProvider->getAvailableLocalesCodes(),));}// Request::getPreferredLanguage() returns first available locale code if none matches. To allow detection of
in
vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php
->
getLocaleCode
(line 39)
{$lastException = null;foreach ($this->localeContexts as $localeContext) {try {return $localeContext->getLocaleCode();} catch (LocaleNotFoundException $exception) {$lastException = $exception;continue;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php
->
getLocaleCode
(line 34)
*/public function onKernelRequest(RequestEvent $event): void{$request = $event->getRequest();$request->setLocale($this->localeContext->getLocaleCode());$request->setDefaultLocale($this->localeProvider->getDefaultLocaleCode());}}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(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();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(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.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 161)
*/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);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(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;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 195)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
in
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
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
::
new
(line 52)
$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);} catch (PDOException $exception) {throw Exception::new($exception);}return new Connection($pdo);}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 30)
array $params,): Connection {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(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,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(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) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 790)
): 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);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 738)
): object|null {$this->switchPersisterContext(null, $limit);$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);if ($entity !== null) {$hints[Query::HINT_REFRESH] = true;$hints[Query::HINT_REFRESH_ENTITY] = $entity;}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 125)
*/public function findOneBy(array $criteria, array|null $orderBy = null): object|null{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->load($criteria, null, null, [], null, 1, $orderBy);}/*** Counts entities by a set of criteria.*
in
vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php
->
findOneBy
(line 37)
return $this->findOneBy(['hostname' => $hostname], self::ORDER_BY);}public function findOneEnabledByHostname(string $hostname): ?ChannelInterface{return $this->findOneBy(['hostname' => $hostname, 'enabled' => true], self::ORDER_BY);}public function findOneByCode(string $code): ?ChannelInterface{return $this->findOneBy(['code' => $code], self::ORDER_BY);
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php
->
findOneEnabledByHostname
(line 32)
public function findChannel(Request $request): ?ChannelInterface{$hostname = $request->getHost();$channel = $this->channelRepository->findOneEnabledByHostname($hostname);if (null !== $channel || !in_array($hostname, self::LOCALHOST_EQUIVALENTS, true)) {return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php
->
findChannel
(line 38)
}public function findChannel(Request $request): ?ChannelInterface{foreach ($this->requestResolvers as $requestResolver) {$channel = $requestResolver->findChannel($request);if (null !== $channel) {return $channel;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
findChannel
(line 39)
}}private function getChannelForRequest(Request $request): ChannelInterface{$channel = $this->requestResolver->findChannel($request);$this->assertChannelWasFound($channel);return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
getChannelForRequest
(line 31)
}public function getChannel(): ChannelInterface{try {return $this->getChannelForRequest($this->getMainRequest());} catch (\UnexpectedValueException $exception) {throw new ChannelNotFoundException(null, $exception);}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php
->
getChannel
(line 38)
public function getChannel(): ChannelInterface{foreach ($this->channelContexts as $channelContext) {try {return $channelContext->getChannel();} catch (ChannelNotFoundException) {continue;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php
->
getChannel
(line 44)
throw $this->requestToExceptionMap[$objectIdentifier];}try {if (!isset($this->requestToChannelMap[$objectIdentifier])) {$this->requestToChannelMap[$objectIdentifier] = $this->decoratedChannelContext->getChannel();}return $this->requestToChannelMap[$objectIdentifier];} catch (ChannelNotFoundException $exception) {$this->requestToExceptionMap[$objectIdentifier] = $exception;
in
vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php
->
getChannel
(line 50)
public function getDefaultLocaleCode(): string{try {/** @var ChannelInterface $channel */$channel = $this->channelContext->getChannel();return $channel->getDefaultLocale()->getCode();} catch (ChannelNotFoundException) {return $this->defaultLocaleCode;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php
->
getDefaultLocaleCode
(line 47)
throw new LocaleNotFoundException('No main request available.');}if ([] === $this->availableLocalesCodes) {$this->availableLocalesCodes = array_unique(array_merge([$this->localeProvider->getDefaultLocaleCode()],$this->localeProvider->getAvailableLocalesCodes(),));}// Request::getPreferredLanguage() returns first available locale code if none matches. To allow detection of
in
vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php
->
getLocaleCode
(line 39)
{$lastException = null;foreach ($this->localeContexts as $localeContext) {try {return $localeContext->getLocaleCode();} catch (LocaleNotFoundException $exception) {$lastException = $exception;continue;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php
->
getLocaleCode
(line 34)
*/public function onKernelRequest(RequestEvent $event): void{$request = $event->getRequest();$request->setLocale($this->localeContext->getLocaleCode());$request->setDefaultLocale($this->localeProvider->getDefaultLocaleCode());}}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(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();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(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.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 161)
*/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);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(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;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 195)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
in
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
vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
(line 28)
): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
::
connect
(line 28)
): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
->
doConnect
(line 45)
$safeParams = $params;unset($safeParams['password']);try {$pdo = $this->doConnect($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 30)
array $params,): Connection {$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);return new Connection(parent::connect($params),$this->logger,);}/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(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,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(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);
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(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) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 790)
): 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);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 738)
): object|null {$this->switchPersisterContext(null, $limit);$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);if ($entity !== null) {$hints[Query::HINT_REFRESH] = true;$hints[Query::HINT_REFRESH_ENTITY] = $entity;}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 125)
*/public function findOneBy(array $criteria, array|null $orderBy = null): object|null{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->load($criteria, null, null, [], null, 1, $orderBy);}/*** Counts entities by a set of criteria.*
in
vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php
->
findOneBy
(line 37)
return $this->findOneBy(['hostname' => $hostname], self::ORDER_BY);}public function findOneEnabledByHostname(string $hostname): ?ChannelInterface{return $this->findOneBy(['hostname' => $hostname, 'enabled' => true], self::ORDER_BY);}public function findOneByCode(string $code): ?ChannelInterface{return $this->findOneBy(['code' => $code], self::ORDER_BY);
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php
->
findOneEnabledByHostname
(line 32)
public function findChannel(Request $request): ?ChannelInterface{$hostname = $request->getHost();$channel = $this->channelRepository->findOneEnabledByHostname($hostname);if (null !== $channel || !in_array($hostname, self::LOCALHOST_EQUIVALENTS, true)) {return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php
->
findChannel
(line 38)
}public function findChannel(Request $request): ?ChannelInterface{foreach ($this->requestResolvers as $requestResolver) {$channel = $requestResolver->findChannel($request);if (null !== $channel) {return $channel;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
findChannel
(line 39)
}}private function getChannelForRequest(Request $request): ChannelInterface{$channel = $this->requestResolver->findChannel($request);$this->assertChannelWasFound($channel);return $channel;}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php
->
getChannelForRequest
(line 31)
}public function getChannel(): ChannelInterface{try {return $this->getChannelForRequest($this->getMainRequest());} catch (\UnexpectedValueException $exception) {throw new ChannelNotFoundException(null, $exception);}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php
->
getChannel
(line 38)
public function getChannel(): ChannelInterface{foreach ($this->channelContexts as $channelContext) {try {return $channelContext->getChannel();} catch (ChannelNotFoundException) {continue;}}
in
vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php
->
getChannel
(line 44)
throw $this->requestToExceptionMap[$objectIdentifier];}try {if (!isset($this->requestToChannelMap[$objectIdentifier])) {$this->requestToChannelMap[$objectIdentifier] = $this->decoratedChannelContext->getChannel();}return $this->requestToChannelMap[$objectIdentifier];} catch (ChannelNotFoundException $exception) {$this->requestToExceptionMap[$objectIdentifier] = $exception;
in
vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php
->
getChannel
(line 50)
public function getDefaultLocaleCode(): string{try {/** @var ChannelInterface $channel */$channel = $this->channelContext->getChannel();return $channel->getDefaultLocale()->getCode();} catch (ChannelNotFoundException) {return $this->defaultLocaleCode;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php
->
getDefaultLocaleCode
(line 47)
throw new LocaleNotFoundException('No main request available.');}if ([] === $this->availableLocalesCodes) {$this->availableLocalesCodes = array_unique(array_merge([$this->localeProvider->getDefaultLocaleCode()],$this->localeProvider->getAvailableLocalesCodes(),));}// Request::getPreferredLanguage() returns first available locale code if none matches. To allow detection of
in
vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php
->
getLocaleCode
(line 39)
{$lastException = null;foreach ($this->localeContexts as $localeContext) {try {return $localeContext->getLocaleCode();} catch (LocaleNotFoundException $exception) {$lastException = $exception;continue;}
in
vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php
->
getLocaleCode
(line 34)
*/public function onKernelRequest(RequestEvent $event): void{$request = $event->getRequest();$request->setLocale($this->localeContext->getLocaleCode());$request->setDefaultLocale($this->localeProvider->getDefaultLocaleCode());}}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(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();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(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.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 161)
*/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);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(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;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 195)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
in
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 02:44:54 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 02:44:54 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 02:44:54 | deprecation |
User Deprecated: Specifying the "nullable" attribute for join columns in many-to-many associations (here, Sylius\Component\Core\Model\PaymentMethod::$channels) is a no-op.
The ORM will always set it to false.
Doing so is deprecated and will be an error in 4.0. (ManyToManyOwningSideMapping.php:133 called by ClassMetadata.php:1449, https://github.com/doctrine/orm/pull/12126, package doctrine/orm) {
"exception": {}
}
|
| INFO 02:44:54 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "localhost",
"port": 3306,
"user": "cartao_s1_user1",
"password": "<redacted>",
"driverOptions": {
"1002": "SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, 'STRICT_'), '', ',TRADITIONAL'))"
},
"defaultTableOptions": {
"charset": "utf8mb4",
"collation": "utf8mb4_unicode_ci",
"collate": "utf8mb4_unicode_ci",
"engine": "InnoDB",
"row_format": "DYNAMIC"
},
"dbname": "cartao_s1_cartao",
"serverVersion": "11.4.13-MariaDB-ubu2204",
"charset": "utf8mb4"
}
}
|
| DEBUG 02:44:54 | doctrine | Executing statement: SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1 (parameters: {params}, types: {types}) |
| INFO 02:44:54 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "bc76ee"
},
"request_uri": "https://cartao.stage.tools/_profiler/bc76ee",
"method": "GET"
}
|
| DEBUG 02:44:54 | doctrine | Executing statement: SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ? (parameters: {params}, types: {types}) |
| DEBUG 02:44:54 | doctrine |
Executing query: SELECT templates FROM tl_theme WHERE templates != '' {
"sql": "SELECT templates FROM tl_theme WHERE templates != ''"
}
|
| INFO 02:44:54 | deprecation |
User Deprecated: Since sylius/mollie-plugin 2.2: Not passing an instance of "Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface" is deprecated and will be required in MolliePlugin 4.0 {
"exception": {}
}
|
Stack Traces 3
|
[3/3]
ConnectionException
|
|---|
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:91
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1453)
at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1395)
at Doctrine\DBAL\Connection->convertException(object(Exception))
(vendor/doctrine/dbal/src/Connection.php:224)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:790)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1', array('cartao.stage.tools', true), array('string', 'boolean'))
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:738)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('hostname' => 'cartao.stage.tools', 'enabled' => true), null, null, array(), null, 1, array('id' => 'ASC'))
(vendor/doctrine/orm/src/EntityRepository.php:125)
at Doctrine\ORM\EntityRepository->findOneBy(array('hostname' => 'cartao.stage.tools', 'enabled' => true), array('id' => 'ASC'))
(vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php:37)
at Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository->findOneEnabledByHostname('cartao.stage.tools')
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php:32)
at Sylius\Component\Channel\Context\RequestBased\HostnameBasedRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php:38)
at Sylius\Component\Channel\Context\RequestBased\CompositeRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:39)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannelForRequest(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:31)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php:38)
at Sylius\Component\Channel\Context\CompositeChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php:44)
at Sylius\Component\Channel\Context\CachedPerRequestChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php:50)
at Sylius\Component\Core\Provider\ChannelBasedLocaleProvider->getDefaultLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php:47)
at Sylius\Bundle\LocaleBundle\Context\RequestHeaderBasedLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php:39)
at Sylius\Component\Locale\Context\CompositeLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php:34)
at Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:161)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:195)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[2/3]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:52)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Logging/Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'localhost', 'port' => 3306, 'user' => 'cartao_s1_user1', 'password' => 'uStQbhiE9Xw&I;q_', 'driverOptions' => array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC'), 'dbname' => 'cartao_s1_cartao', 'serverVersion' => '11.4.13-MariaDB-ubu2204', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'localhost', 'port' => 3306, 'user' => 'cartao_s1_user1', 'password' => 'uStQbhiE9Xw&I;q_', 'driverOptions' => array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC'), 'dbname' => 'cartao_s1_cartao', 'serverVersion' => '11.4.13-MariaDB-ubu2204', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:790)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1', array('cartao.stage.tools', true), array('string', 'boolean'))
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:738)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('hostname' => 'cartao.stage.tools', 'enabled' => true), null, null, array(), null, 1, array('id' => 'ASC'))
(vendor/doctrine/orm/src/EntityRepository.php:125)
at Doctrine\ORM\EntityRepository->findOneBy(array('hostname' => 'cartao.stage.tools', 'enabled' => true), array('id' => 'ASC'))
(vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php:37)
at Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository->findOneEnabledByHostname('cartao.stage.tools')
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php:32)
at Sylius\Component\Channel\Context\RequestBased\HostnameBasedRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php:38)
at Sylius\Component\Channel\Context\RequestBased\CompositeRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:39)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannelForRequest(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:31)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php:38)
at Sylius\Component\Channel\Context\CompositeChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php:44)
at Sylius\Component\Channel\Context\CachedPerRequestChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php:50)
at Sylius\Component\Core\Provider\ChannelBasedLocaleProvider->getDefaultLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php:47)
at Sylius\Bundle\LocaleBundle\Context\RequestHeaderBasedLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php:39)
at Sylius\Component\Locale\Context\CompositeLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php:34)
at Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:161)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:195)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28
at PDO::connect('mysql:host=localhost;port=3306;dbname=cartao_s1_cartao;charset=utf8mb4;', 'cartao_s1_user1', object(SensitiveParameterValue), array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'))
(vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:28)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect(object(SensitiveParameterValue), 'cartao_s1_user1', object(SensitiveParameterValue), array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'))
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:45)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Logging/Driver.php:30)
at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'localhost', 'port' => 3306, 'user' => 'cartao_s1_user1', 'password' => 'uStQbhiE9Xw&I;q_', 'driverOptions' => array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC'), 'dbname' => 'cartao_s1_cartao', 'serverVersion' => '11.4.13-MariaDB-ubu2204', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => 'localhost', 'port' => 3306, 'user' => 'cartao_s1_user1', 'password' => 'uStQbhiE9Xw&I;q_', 'driverOptions' => array('SET SESSION sql_mode=CONCAT(@@sql_mode, IF(INSTR(@@sql_mode, \'STRICT_\'), \'\', \',TRADITIONAL\'))'), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'collate' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB', 'row_format' => 'DYNAMIC'), 'dbname' => 'cartao_s1_cartao', 'serverVersion' => '11.4.13-MariaDB-ubu2204', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:790)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1', array('cartao.stage.tools', true), array('string', 'boolean'))
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:738)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('hostname' => 'cartao.stage.tools', 'enabled' => true), null, null, array(), null, 1, array('id' => 'ASC'))
(vendor/doctrine/orm/src/EntityRepository.php:125)
at Doctrine\ORM\EntityRepository->findOneBy(array('hostname' => 'cartao.stage.tools', 'enabled' => true), array('id' => 'ASC'))
(vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php:37)
at Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository->findOneEnabledByHostname('cartao.stage.tools')
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/HostnameBasedRequestResolver.php:32)
at Sylius\Component\Channel\Context\RequestBased\HostnameBasedRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/CompositeRequestResolver.php:38)
at Sylius\Component\Channel\Context\RequestBased\CompositeRequestResolver->findChannel(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:39)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannelForRequest(object(Request))
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/RequestBased/ChannelContext.php:31)
at Sylius\Component\Channel\Context\RequestBased\ChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CompositeChannelContext.php:38)
at Sylius\Component\Channel\Context\CompositeChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Channel/Context/CachedPerRequestChannelContext.php:44)
at Sylius\Component\Channel\Context\CachedPerRequestChannelContext->getChannel()
(vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php:50)
at Sylius\Component\Core\Provider\ChannelBasedLocaleProvider->getDefaultLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestHeaderBasedLocaleContext.php:47)
at Sylius\Bundle\LocaleBundle\Context\RequestHeaderBasedLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php:39)
at Sylius\Component\Locale\Context\CompositeLocaleContext->getLocaleCode()
(vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php:34)
at Sylius\Bundle\LocaleBundle\Listener\RequestLocaleSetter->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:161)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:195)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/4ff1c41f-0d83-48ae-a248-66bd80154533/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|