( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/fotokochxxl/vendor/laminas/laminas-servicemanager/src/ServiceManager.php on line 672
( ! ) Laminas\ServiceManager\Exception\ServiceNotCreatedException: Service with name "doctrine.connection.orm_default" could not be created. Reason: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused in /var/www/fotokochxxl/vendor/laminas/laminas-servicemanager/src/ServiceManager.php on line 672
Call Stack
#TimeMemoryFunctionLocation
10.0001360976{main}( ).../index.php:0
20.03291671656Laminas\Mvc\Application->run( ).../index.php:93
30.03291672384Laminas\EventManager\EventManager->triggerEventUntil( $callback = class Closure { public $static = ['event' => class Laminas\Mvc\MvcEvent { ... }]; public $this = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = class Laminas\Mvc\MvcEvent { ... }; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; public $parameter = ['$r' => '<required>'] }, $event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\Http\PhpEnvironment\Request { protected $baseUrl = ''; protected $basePath = NULL; protected $requestUri = '/foto/bestellen?optionid=472'; protected $serverParams = class Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Laminas\Uri\Http { ... }; protected $queryParams = class Laminas\Stdlib\Parameters { ... }; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata = [...]; protected $content = '' }; protected $result = NULL; protected $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = ''; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 15; protected $params = [...]; protected $matchedRouteName = 'application' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'route'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }]; protected $stopPropagation = FALSE } ).../Application.php:310
40.03291672384Laminas\EventManager\EventManager->triggerListeners( $event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\Http\PhpEnvironment\Request { protected $baseUrl = ''; protected $basePath = NULL; protected $requestUri = '/foto/bestellen?optionid=472'; protected $serverParams = class Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Laminas\Uri\Http { ... }; protected $queryParams = class Laminas\Stdlib\Parameters { ... }; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata = [...]; protected $content = '' }; protected $result = NULL; protected $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = ''; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 15; protected $params = [...]; protected $matchedRouteName = 'application' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'route'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }]; protected $stopPropagation = FALSE }, $callback = class Closure { public $static = ['event' => class Laminas\Mvc\MvcEvent { ... }]; public $this = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = class Laminas\Mvc\MvcEvent { ... }; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; public $parameter = ['$r' => '<required>'] } ).../EventManager.php:188
50.03351676560Application\Mvc\CustomRoutingListener->onRoute( $event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\Http\PhpEnvironment\Request { protected $baseUrl = ''; protected $basePath = NULL; protected $requestUri = '/foto/bestellen?optionid=472'; protected $serverParams = class Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Laminas\Uri\Http { ... }; protected $queryParams = class Laminas\Stdlib\Parameters { ... }; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata = [...]; protected $content = '' }; protected $result = NULL; protected $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = ''; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 15; protected $params = [...]; protected $matchedRouteName = 'application' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'route'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }]; protected $stopPropagation = FALSE } ).../EventManager.php:331
60.03351676600Laminas\ServiceManager\ServiceManager->get( $name = 'Application\\Service\\UserService' ).../CustomRoutingListener.php:56
70.03351676600Laminas\ServiceManager\ServiceManager->doCreate( $resolvedName = 'Application\\Service\\UserService', $options = ??? ).../ServiceManager.php:230