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 273)
** @return FlashBagInterface*/public function getFlashBag(){return $this->getBag($this->flashName);}/*** Gets the attributebag interface.*
in
var/cache/dev/ContainerSbZhA9x/getSession_FlashBagService.php
->
getFlashBag
(line 24)
*/public static function do($container, $lazyLoad = true){trigger_deprecation('symfony/framework-bundle', '5.1', 'The "session.flash_bag" service is deprecated, use "$session->getFlashBag()" instead.');return $container->privates['session.flash_bag'] = ($container->services['.container.private.session'] ?? $container->get_Container_Private_SessionService())->getFlashBag();}}
in
var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php
::
do
(line 3028)
$file .= '.php';}$service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;}protected function createProxy($class, \Closure $factory){class_exists($class, false) || require __DIR__.'/'.$class.'.php';
in
var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php
->
load
(line 7511)
** @return \App\EventListener\GtmRouteListener*/protected function getGtmRouteListenerService(){return $this->privates['App\\EventListener\\GtmRouteListener'] = new \App\EventListener\GtmRouteListener(($this->services['Sylius\\Component\\Channel\\Context\\ChannelContextInterface'] ?? $this->getChannelContextInterfaceService()), ($this->services['Sylius\\Component\\Locale\\Context\\LocaleContextInterface'] ?? $this->getLocaleContextInterfaceService()), ($this->services['google_tag_manager'] ?? $this->getGoogleTagManagerService()), ($this->services['bitbag_sylius_cms_plugin.repository.page'] ?? $this->getBitbagSyliusCmsPlugin_Repository_PageService()), ($this->services['sylius.repository.taxon'] ?? $this->getSylius_Repository_TaxonService()), ($this->services['sylius.repository.product'] ?? $this->getSylius_Repository_ProductService()), ($this->privates['session.flash_bag'] ?? $this->load('getSession_FlashBagService')), ($this->services['.container.private.security.authorization_checker'] ?? $this->get_Container_Private_Security_AuthorizationCheckerService()), ($this->services['request_stack'] ?? ($this->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));}/*** Gets the private 'App\Provider\ShippingDateProvider' shared autowired service.*
in
var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php
->
getGtmRouteListenerService
(line 4419)
}, 1 => 'preCreate'], 0);$instance->addListener('sylius.channel.pre_update', [0 => function () {return ($this->privates['App\\EventListener\\ChannelListener'] ?? $this->load('getChannelListenerService'));}, 1 => 'preUpdate'], 0);$instance->addListener('kernel.request', [0 => function () {return ($this->privates['App\\EventListener\\GtmRouteListener'] ?? $this->getGtmRouteListenerService());}, 1 => 'onKernelRequest'], 0);$instance->addListener('sylius.user.password_reset.request.pin', [0 => function () {return ($this->privates['App\\EventListener\\MailerListener'] ?? $this->load('getMailerListenerService'));}, 1 => 'sendResetPasswordPinEmail'], 0);$instance->addListener('sylius.user.password_reset.request.token', [0 => function () {
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
ContainerSbZhA9x\{closure}
(line 245)
$this->sorted[$eventName] = [];foreach ($this->listeners[$eventName] as &$listeners) {foreach ($listeners as $k => &$listener) {if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {$listener[0] = $listener[0]();$listener[1] = $listener[1] ?? '__invoke';}$this->sorted[$eventName][] = $listener;}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
sortListeners
(line 76)
if (empty($this->listeners[$eventName])) {return [];}if (!isset($this->sorted[$eventName])) {$this->sortListeners($eventName);}return $this->sorted[$eventName];}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
getListeners
(line 293)
$this->orphanedEvents[$this->currentRequestHash][] = $eventName;return;}foreach ($this->dispatcher->getListeners($eventName) as $listener) {$priority = $this->getListenerPriority($eventName, $listener);$wrappedListener = new WrappedListener($listener instanceof WrappedListener ? $listener->getWrappedListener() : $listener, null, $this->stopwatch, $this);$this->wrappedListeners[$eventName][] = $wrappedListener;$this->dispatcher->removeListener($eventName, $listener);$this->dispatcher->addListener($eventName, $wrappedListener, $priority);
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
preProcess
(line 148)
if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {$this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.', $eventName));}$this->preProcess($eventName);try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 129)
*/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
No log messages
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()
(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:273)
at Symfony\Component\HttpFoundation\Session\Session->getFlashBag()
(var/cache/dev/ContainerSbZhA9x/getSession_FlashBagService.php:24)
at ContainerSbZhA9x\getSession_FlashBagService::do()
(var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php:3028)
at ContainerSbZhA9x\App_KernelDevDebugContainer->load()
(var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php:7511)
at ContainerSbZhA9x\App_KernelDevDebugContainer->getGtmRouteListenerService()
(var/cache/dev/ContainerSbZhA9x/App_KernelDevDebugContainer.php:4419)
at ContainerSbZhA9x\App_KernelDevDebugContainer->ContainerSbZhA9x\{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:245)
at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:76)
at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:293)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:148)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:129)
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:30)
|