Exceptions
Exception
ErrorException
* @return int|false*/#[\ReturnTypeWillChange]public function gc($maxlifetime){return $this->handler->gc($maxlifetime);}}
in
vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php
->
gc
(line 91)
* @return int|false*/#[\ReturnTypeWillChange]public function gc($maxlifetime){return $this->handler->gc($maxlifetime);}/*** @return bool*/
SessionHandlerProxy->gc(1440)
in
vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
session_start
(line 185)
// the session ID in the header is invalid, create a new onesession_id(session_create_id());}// ok to try and start the sessionif (!session_start()) {throw new \RuntimeException('Failed to start the session.');}if (null !== $this->emulateSameSite) {$originalCookie = SessionUtils::popSessionCookie(session_name(), session_id());
in
vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
->
start
(line 352)
}if (!$this->started && $this->saveHandler->isActive()) {$this->loadSession();} elseif (!$this->started) {$this->start();}return $this->bags[$name];}
in
vendor/symfony/http-foundation/Session/Session.php
->
getBag
(line 261)
/*** {@inheritdoc}*/public function getBag(string $name){$bag = $this->storage->getBag($name);return method_exists($bag, 'getBag') ? $bag->getBag() : $bag;}/**
in
vendor/symfony/http-foundation/Session/Session.php
->
getBag
(line 283)
** Note that this method was added to help with IDE autocompletion.*/private function getAttributeBag(): AttributeBagInterface{return $this->getBag($this->attributeName);}}
in
vendor/symfony/http-foundation/Session/Session.php
->
getAttributeBag
(line 69)
/*** {@inheritdoc}*/public function has(string $name){return $this->getAttributeBag()->has($name);}/*** {@inheritdoc}*/
in
vendor/symfony/security-http/Authentication/AuthenticationUtils.php
->
has
(line 43)
$request = $this->getRequest();$authenticationException = null;if ($request->attributes->has(Security::AUTHENTICATION_ERROR)) {$authenticationException = $request->attributes->get(Security::AUTHENTICATION_ERROR);} elseif ($request->hasSession() && ($session = $request->getSession())->has(Security::AUTHENTICATION_ERROR)) {$authenticationException = $session->get(Security::AUTHENTICATION_ERROR);if ($clearSession) {$session->remove(Security::AUTHENTICATION_ERROR);}
AuthenticationUtils->getLastAuthenticationError()
in
src/Controller/Backoffice/AdminAccountController.php
(line 49)
}#[Route(path: '/connexion', name: 'admin_login')]public function login(AuthenticationUtils $utils){$error = $utils->getLastAuthenticationError();$username = $utils->getLastUsername();return $this->render('backoffice/account/login.html.twig', ['hasError' => $error,'username' => $username
in
vendor/symfony/http-kernel/HttpKernel.php
->
login
(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;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/preprod/racket-trip/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 14:51:50 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "12e956"
},
"request_uri": "https://backoffice.racket-trip.eu/_profiler/12e956",
"method": "GET"
}
|
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)
at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:116
at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc(1440)
(vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:91)
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc(1440)
at session_start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:185)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:352)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
(vendor/symfony/http-foundation/Session/Session.php:261)
at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
(vendor/symfony/http-foundation/Session/Session.php:283)
at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
(vendor/symfony/http-foundation/Session/Session.php:69)
at Symfony\Component\HttpFoundation\Session\Session->has('_security.last_error')
(vendor/symfony/security-http/Authentication/AuthenticationUtils.php:43)
at Symfony\Component\Security\Http\Authentication\AuthenticationUtils->getLastAuthenticationError()
(src/Controller/Backoffice/AdminAccountController.php:49)
at App\Controller\Backoffice\AdminAccountController->login(object(AuthenticationUtils))
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/var/www/preprod/racket-trip/vendor/autoload_runtime.php')
(public/index.php:5)
|