Exceptions
Exception
ErrorException
Show exception properties
ErrorException {#150 #severity: E_NOTICE }
return $this->handler->close();}public function gc(int $maxlifetime): int|false{return $this->handler->gc($maxlifetime);}}
in
vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php
->
gc
(line 64)
return $this->handler->destroy($sessionId);}public function gc(int $maxlifetime): int|false{return $this->handler->gc($maxlifetime);}public function validateId(#[\SensitiveParameter] string $sessionId): bool{return !$this->handler instanceof \SessionUpdateTimestampHandlerInterface || $this->handler->validateId($sessionId);
SessionHandlerProxy->gc()
in
vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
session_start
(line 156)
// 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.');}$this->loadSession();
in
vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
->
start
(line 280)
}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 201)
$this->storage->registerBag(new SessionBagProxy($bag, $this->data, $this->usageIndex, $this->usageReporter));}public function getBag(string $name): SessionBagInterface{$bag = $this->storage->getBag($name);return method_exists($bag, 'getBag') ? $bag->getBag() : $bag;}/**
in
vendor/symfony/http-foundation/Session/Session.php
->
getBag
(line 221)
** 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)
return $this->getAttributeBag()->has($name);}public function get(string $name, mixed $default = null): mixed{return $this->getAttributeBag()->get($name, $default);}public function set(string $name, mixed $value): void{$this->getAttributeBag()->set($name, $value);
if (!$request->hasSession()) {return;}$session = $request->getSession();if (!$session->get('mysaa_must_change_pin')) {return;}$hasApiSession = (string)($session->get('mysaa_token') ?? $session->get('api_token') ?? '') !== '';if (!$hasApiSession) {
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 246)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(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/http-kernel/HttpKernel.php
->
dispatch
(line 154)
*/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 185)
$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?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 18:57:50 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "ce42d4"
},
"request_uri": "http://mysaa.icontinuum.net/_profiler/ce42d4",
"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:87
at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc()
(vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64)
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc()
at session_start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:156)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:280)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
(vendor/symfony/http-foundation/Session/Session.php:201)
at Symfony\Component\HttpFoundation\Session\Session->getBag()
(vendor/symfony/http-foundation/Session/Session.php:221)
at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
(vendor/symfony/http-foundation/Session/Session.php:69)
at Symfony\Component\HttpFoundation\Session\Session->get()
(src/EventSubscriber/MustChangePinSubscriber.php:48)
at App\EventSubscriber\MustChangePinSubscriber->onKernelRequest()
(vendor/symfony/event-dispatcher/EventDispatcher.php:246)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:154)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:185)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/var/www/html/mysaa/vendor/autoload_runtime.php')
(public/index.php:4)
|