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()
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 85)
/*** {@inheritdoc}*/public function set(string $name, $value){$this->getAttributeBag()->set($name, $value);}/*** {@inheritdoc}*/
}// try to get language from the HTTP_ACCEPT_LANGUAGE$locale = $this->detect($request);if ($locale) {$request->getSession()->set('_locale', $locale);}//Retrieve locale value from session, if not, the default will be used$request->setLocale($request->getSession()->get('_locale', $this->defaultLocale));setLocale(LC_TIME, $request->getSession()->get('_locale', $this->defaultLocale));
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 118)
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
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 59)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 139)
*/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 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;}}
Request::setTrustedHosts([$trustedHosts]);}$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 23:30:14 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "8b3753"
},
"request_uri": "https://test01.nextcaddy.com/_profiler/8b3753",
"method": "GET"
}
|
| INFO 23:30:14 | app | Request GET parameters: [] |
| INFO 23:30:14 | app | Request POST parameters: [] |
| INFO 23:30:14 | app | Request ATTRIBUTES parameters: {"_stopwatch_token":"783229","media_type":"text\/html","_route":"_profiler","_controller":"web_profiler.controller.profiler::panelAction","token":"8b3753","_route_params":{"token":"8b3753"},"_firewall_context":"security.firewall.map.context.dev"} |
| INFO 23:30:14 | app | Request COOKIES parameters: [] |
| INFO 23:30:14 | app | Request HEADERS parameters: {"accept-encoding":["gzip, br, zstd, deflate"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.55"],"host":["test01.nextcaddy.com"],"x-php-ob-level":["1"]} |
| INFO 23:30:14 | app | Request GET parameters: {"_path":"_format=html&_locale=es&_controller=web_profiler.controller.exception_panel%3A%3Astylesheet"} |
| INFO 23:30:14 | app | Request POST parameters: [] |
| INFO 23:30:14 | app | Request ATTRIBUTES parameters: {"token":"8b3753","_format":"html","_locale":"es","_controller":"web_profiler.controller.exception_panel::stylesheet","_stopwatch_token":"75eb13"} |
| INFO 23:30:14 | app | Request COOKIES parameters: [] |
| INFO 23:30:14 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.55"],"forwarded":["for=\"216.73.216.55\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["216.73.216.55"],"x-php-ob-level":["5"]} |
| INFO 23:30:14 | app | Request GET parameters: {"_path":"_format=html&_locale=es&_controller=web_profiler.controller.profiler%3A%3AsearchBarAction"} |
| INFO 23:30:14 | app | Request POST parameters: [] |
| INFO 23:30:14 | app | Request ATTRIBUTES parameters: {"_format":"html","_locale":"es","_controller":"web_profiler.controller.profiler::searchBarAction","_stopwatch_token":"ce70c0"} |
| INFO 23:30:14 | app | Request COOKIES parameters: [] |
| INFO 23:30:14 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.55"],"forwarded":["for=\"127.0.0.1\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["127.0.0.1"],"x-php-ob-level":["5"]} |
| INFO 23:30:14 | app | Request GET parameters: {"_path":"_format=html&_locale=es&_controller=web_profiler.controller.exception_panel%3A%3Abody"} |
| INFO 23:30:14 | app | Request POST parameters: [] |
| INFO 23:30:14 | app | Request ATTRIBUTES parameters: {"_format":"html","token":"8b3753","_locale":"es","_controller":"web_profiler.controller.exception_panel::body","_stopwatch_token":"d0d25d"} |
| INFO 23:30:14 | app | Request COOKIES parameters: [] |
| INFO 23:30:14 | app | Request HEADERS parameters: {"host":["test01.nextcaddy.com"],"user-agent":["Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)"],"accept":["*\/*"],"accept-language":["en-us,en;q=0.5"],"accept-charset":["ISO-8859-1,utf-8;q=0.7,*;q=0.7"],"accept-encoding":["gzip, br, zstd, deflate"],"x-accel-internal":["\/internal-nginx-static-location"],"x-real-ip":["216.73.216.55"],"forwarded":["for=\"127.0.0.1\";host=\"test01.nextcaddy.com\";proto=https"],"x-forwarded-for":["127.0.0.1"],"x-php-ob-level":["6"]} |
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13)
at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:116
at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc()
(vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:91)
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc()
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()
(vendor/symfony/http-foundation/Session/Session.php:261)
at Symfony\Component\HttpFoundation\Session\Session->getBag()
(vendor/symfony/http-foundation/Session/Session.php:283)
at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
(vendor/symfony/http-foundation/Session/Session.php:85)
at Symfony\Component\HttpFoundation\Session\Session->set()
(src/EventSubscriber/LocaleSubscriber.php:30)
at App\EventSubscriber\LocaleSubscriber->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:139)
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:27)
|