Exceptions
Exception
LengthException
in
src/Manager/ConfigurationManager.php
(line 76)
$this->logger->error($msg = \sprintf('Too many contracts found (%s), expected only one.',$countContracts,), ['domainName' => $domainName, 'contractsId' => \array_column($contracts, 'id')]);throw new \LengthException($msg);}}}
*/public function getRealm(ConfigurationManagerInterface $configurationManager,Request $request): JsonResponse {return $this->json($configurationManager->getRealm($request->get('domainName')));}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
getRealm
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "15856178415944287720"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "35b7b5"
},
"request_uri": "https://portail-global-api.int.villagile.fr/_profiler/35b7b5?panel=exception",
"method": "GET",
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-http 5.4: The "Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint" class is deprecated, use the new security system with "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener" class is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.manager" service is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager" class is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Event\AuthenticationFailureEvent" class is deprecated, use "Symfony\Component\Security\Http\Event\LoginFailureEvent" with the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.anonymous.main" service is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener" class is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.4: The "Symfony\Component\Security\Core\Authentication\Token\AnonymousToken" class is deprecated. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.4: Using an object that is not an instance of "Symfony\Component\Security\Core\User\UserInterface" as $user in "Symfony\Component\Security\Core\Authentication\Token\AnonymousToken" is deprecated. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.guard.api" service is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider" class is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface" interface is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.guard.external_app_connect" service is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.provider.anonymous.main" service is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider" class is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | security |
Populated the TokenStorage with an anonymous Token. {
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-http 5.4: The $authManager argument of "Symfony\Component\Security\Http\Firewall\AccessListener::__construct" is deprecated. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-http 5.4: Not setting the $exceptionOnNoToken argument of "Symfony\Component\Security\Http\Firewall\AccessListener::__construct" to "false" is deprecated. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "4591090318291879141"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-bundle 5.4: Setting the $authenticatorManagerEnabled argument of "Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector::__construct" to "false" is deprecated, use the new authenticator system instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "15466134549541986758"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of "Symfony\Component\Security\Core\Authorization\AuthorizationChecker::__construct" to "false" is deprecated. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "15466134549541986758"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "8188792818057340417"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "8188792818057340417"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "8188792818057340417"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "8188792818057340417"
}
|
| INFO 03:33:12 | deprecation |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. {
"exception": {},
"dd.trace_id": "69bf54e700000000dc0c7642799345e8",
"dd.span_id": "8188792818057340417"
}
|
Stack Trace
|
LengthException
|
|---|
LengthException:
Too many contracts found (2), expected only one.
at src/Manager/ConfigurationManager.php:76
at App\Manager\ConfigurationManager->getRealm()
(src/Controller/PublicConfigurationController.php:50)
at App\Controller\PublicConfigurationController->getRealm()
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:26)
|