Exceptions
Exception
Error
in
src/Controller/ClientController.php
(line 570)
$heure_actuel = $date->modify('+10 minutes')->format('H:i');$date_actuel = $date->format('Y-m-d');$options = ['date_actuel' => $date_actuel,'heure_actuel' => $heure_actuel,'client_id' => $client->getId()];$repository = $entityManager->getRepository(PlanningReservation::class);$plannings = $repository->findByDeverouille($options);// dump($plannings);die;
in
vendor/symfony/http-kernel/HttpKernel.php
->
deverouille
(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;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/3.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\KernelInterface::registerBundles()" might add "iterable" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\HttpKernel\SuluKernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\Kernel::getContainerClass()" might add "string" as a native return type declaration in the future. Do the same in child class "Sulu\Component\HttpKernel\SuluKernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\KernelInterface::getCacheDir()" might add "string" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\HttpKernel\SuluKernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\KernelInterface::getLogDir()" might add "string" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\HttpKernel\SuluKernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\Kernel::getKernelParameters()" might add "array" as a native return type declaration in the future. Do the same in child class "Sulu\Component\HttpKernel\SuluKernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "FOS\HttpCache\SymfonyCache\HttpCacheProvider::getHttpCache()" might add "?HttpKernelInterface" as a native return type declaration in the future. Do the same in implementation "App\Kernel" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::copy()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::cloneFrom()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::move()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::removeItem()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::createWorkspace()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "PHPCR\WorkspaceInterface::deleteWorkspace()" might add "void" as a native return type declaration in the future. Do the same in implementation "Jackalope\Workspace" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\Security\Core\User\EquatableInterface::isEqualTo()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Sulu\Bundle\SecurityBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "Symfony\Component\Security\Core\User\UserInterface::getRoles()" might add "array" as a native return type declaration in the future. Do the same in implementation "Sulu\Bundle\SecurityBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | 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": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-bundle 5.3: The "sulu_security.encoder_factory" service is deprecated, use "security.password_hasher_factory" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactory" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "IteratorAggregate::getIterator()" might add "\Traversable" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Webspace\Manager\WebspaceCollection" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Localization\Localization" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::getXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "getDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::setXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "setDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 19:12:00 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "dfcc97"
},
"request_uri": "https://preprod.panda-coworking.com/_profiler/dfcc97",
"method": "GET"
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\MessageDigestPasswordHasher" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\BasePasswordEncoder" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\CheckPasswordLengthTrait" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface" class is deprecated, use "Symfony\Component\PasswordHasher\PasswordHasherInterface" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Content\Compat\Property" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 19:12:00 | 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": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Class "Nyholm\Psr7\Factory\HttplugFactory" is deprecated since version 1.8, use "Nyholm\Psr7\Factory\Psr17Factory" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/http-kernel 5.3: "Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest()" is deprecated, use "isMainRequest()" instead. {
"exception": {}
}
|
| INFO 19:12:00 | deprecation |
User Deprecated: Since symfony/http-kernel 5.3: "Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest()" is deprecated, use "isMainRequest()" instead. {
"exception": {}
}
|
Stack Trace
|
Error
|
|---|
Error:
Call to a member function getId() on null
at src/Controller/ClientController.php:570
at App\Controller\ClientController->deverouille()
(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:66)
|