* @throws \LogicException
*/
public function setName(string $name)
{
if ($this->isActive()) {
throw new \LogicException('Cannot change the name of an active session.');
}
session_name($name);
}
}
/**
* @return void
*/
public function setName(string $name)
{
$this->saveHandler->setName($name);
}
public function regenerate(bool $destroy = false, ?int $lifetime = null): bool
{
// Cannot regenerate the session ID for non-active sessions.
/**
* @return void
*/
public function setName(string $name)
{
$this->storage->setName($name);
}
public function getMetadataBag(): MetadataBag
{
++$this->usageIndex;
}
$session = $master->getSession();
if (!$session->isStarted()) {
$session->setName('session-');
$session->start();
$session->set('sessionId', $session->getId());
}
$salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
$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();
}
}
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.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
*
* @return TEvent
*/
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (!$event instanceof FlowEventAware) {
return $event;
}
) {
}
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
return $event;
}
}
$this->dispatch($nested, $name);
}
}
return $this->dispatcher->dispatch($event, $eventName);
}
/**
* @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
*/
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
*/
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);
}
$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;
}
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return parent::handle($request, $type, $catch);
}
if ($request->attributes->get('exception') !== null) {
return parent::handle($request, $type, $catch);
}
}
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine()));
$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();
}
}
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.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
*
* @return TEvent
*/
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (!$event instanceof FlowEventAware) {
return $event;
}
) {
}
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
return $event;
}
}
$this->dispatch($nested, $name);
}
}
return $this->dispatcher->dispatch($event, $eventName);
}
/**
* @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
*/
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* Handles a throwable by trying to convert it to a Response.
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
$exceptionHandler($exception);
return;
}
$handlerException ??= $exception;
} catch (\Throwable $handlerException) {
* @throws \LogicException
*/
public function setName(string $name)
{
if ($this->isActive()) {
throw new \LogicException('Cannot change the name of an active session.');
}
session_name($name);
}
}
/**
* @return void
*/
public function setName(string $name)
{
$this->saveHandler->setName($name);
}
public function regenerate(bool $destroy = false, ?int $lifetime = null): bool
{
// Cannot regenerate the session ID for non-active sessions.
/**
* @return void
*/
public function setName(string $name)
{
$this->storage->setName($name);
}
public function getMetadataBag(): MetadataBag
{
++$this->usageIndex;
}
$session = $master->getSession();
if (!$session->isStarted()) {
$session->setName('session-');
$session->start();
$session->set('sessionId', $session->getId());
}
$salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
$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();
}
}
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.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
*
* @return TEvent
*/
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (!$event instanceof FlowEventAware) {
return $event;
}
) {
}
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
return $event;
}
}
$this->dispatch($nested, $name);
}
}
return $this->dispatcher->dispatch($event, $eventName);
}
/**
* @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
*/
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
*/
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);
}
$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;
}
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return parent::handle($request, $type, $catch);
}
if ($request->attributes->get('exception') !== null) {
return parent::handle($request, $type, $catch);
}
}
$request = $this->duplicateRequest($throwable, $event->getRequest());
try {
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
$f = FlattenException::createFromThrowable($e);
$this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine()));
$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();
}
}
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.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
*
* @return TEvent
*/
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (!$event instanceof FlowEventAware) {
return $event;
}
) {
}
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
return $event;
}
}
$this->dispatch($nested, $name);
}
}
return $this->dispatcher->dispatch($event, $eventName);
}
/**
* @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
*/
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* Handles a throwable by trying to convert it to a Response.
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
$this->finishRequest($request, $type);
throw $e;
}
return $response = $this->handleThrowable($e, $request, $type);
} finally {
$this->requestStack->pop();
if ($response instanceof StreamedResponse && $callback = $response->getCallback()) {
$requestStack = $this->requestStack;
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return parent::handle($request, $type, $catch);
}
if ($request->attributes->get('exception') !== null) {
return parent::handle($request, $type, $catch);
}
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return $this->getKernel()->handle($request, $type, $catch);
}
/**
* When we have an external reverse proxy which is ESI capable, we can't use the internal HttpCache, as it will resolve the ESI tags
*/
{
if (!$this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
public function boot(): void
{
if ($this->booted === true) {
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
protected function forward(Request $request, bool $catch = false, ?Response $entry = null)
{
$this->surrogate?->addSurrogateCapability($request);
// always a "master" request (as the real master request can be in cache)
$response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
/*
* Support stale-if-error given on Responses or as a config option.
* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
* Cache-Control directives) that
// avoid that the backend sends no content
$subRequest->headers->remove('If-Modified-Since');
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
&& $container->getParameter('shopware.http.cache.enabled');
if ($enabled && $container->has(CacheStore::class)) {
$kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]);
}
$response = $kernel->handle($transformed, $type, $catch);
// fire event to trigger runtime events like seo url headers
$event = new BeforeSendResponseEvent($transformed, $response);
$container->get('event_dispatcher')->dispatch($event);
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult
{
try {
return $this->doHandle($request, $type, $catch);
} catch (Exception $e) {
/** @var Params|array{url?: string} $connectionParams */
$connectionParams = self::getConnection()->getParams();
$message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage());
}
} else {
$kernel = new InstallerKernel($appEnv, $debug);
}
$result = $kernel->handle($request);
if ($result instanceof Response) {
$result->send();
$kernel->terminate($request, $result);
} else {
return $this->handler->close();
}
public function gc(int $maxlifetime): int|false
{
return $this->handler->gc($maxlifetime);
}
}
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);
// the session ID in the header is invalid, create a new one
session_id(session_create_id());
}
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
$this->loadSession();
$this->registerBag($flashes);
}
public function start(): bool
{
return $this->storage->start();
}
public function has(string $name): bool
{
return $this->getAttributeBag()->has($name);
$session = $master->getSession();
if (!$session->isStarted()) {
$session->setName('session-');
$session->start();
$session->set('sessionId', $session->getId());
}
$salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
if ($salesChannelId === null) {
$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();
}
}
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.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
*
* @return TEvent
*/
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (!$event instanceof FlowEventAware) {
return $event;
}
) {
}
public function dispatch(object $event, ?string $eventName = null): object
{
$event = $this->dispatcher->dispatch($event, $eventName);
if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
return $event;
}
}
$this->dispatch($nested, $name);
}
}
return $this->dispatcher->dispatch($event, $eventName);
}
/**
* @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
*/
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
*/
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);
}
$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;
}
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return parent::handle($request, $type, $catch);
}
if ($request->attributes->get('exception') !== null) {
return parent::handle($request, $type, $catch);
}
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
if (!KernelFactory::$active) {
return $this->getKernel()->handle($request, $type, $catch);
}
/**
* When we have an external reverse proxy which is ESI capable, we can't use the internal HttpCache, as it will resolve the ESI tags
*/
{
if (!$this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
public function boot(): void
{
if ($this->booted === true) {
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
protected function forward(Request $request, bool $catch = false, ?Response $entry = null)
{
$this->surrogate?->addSurrogateCapability($request);
// always a "master" request (as the real master request can be in cache)
$response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
/*
* Support stale-if-error given on Responses or as a config option.
* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
* Cache-Control directives) that
// avoid that the backend sends no content
$subRequest->headers->remove('If-Modified-Since');
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
&& $container->getParameter('shopware.http.cache.enabled');
if ($enabled && $container->has(CacheStore::class)) {
$kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]);
}
$response = $kernel->handle($transformed, $type, $catch);
// fire event to trigger runtime events like seo url headers
$event = new BeforeSendResponseEvent($transformed, $response);
$container->get('event_dispatcher')->dispatch($event);
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult
{
try {
return $this->doHandle($request, $type, $catch);
} catch (Exception $e) {
/** @var Params|array{url?: string} $connectionParams */
$connectionParams = self::getConnection()->getParams();
$message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage());
}
} else {
$kernel = new InstallerKernel($appEnv, $debug);
}
$result = $kernel->handle($request);
if ($result instanceof Response) {
$result->send();
$kernel->terminate($request, $result);
} else {
[3/3]
LogicException
|
---|
LogicException: Cannot change the name of an active session. at /home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:105 at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:204) at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Session.php:199) at Symfony\Component\HttpFoundation\Session\Session->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109) at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:157) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:44) at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/EventListener/ErrorListener.php:117) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:239) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:132) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/error-handler/ErrorHandler.php:535) at Symfony\Component\ErrorHandler\ErrorHandler->handleException() |
[2/3]
LogicException
|
---|
LogicException: Cannot change the name of an active session. at /home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:105 at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:204) at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Session.php:199) at Symfony\Component\HttpFoundation\Session\Session->setName() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109) at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:157) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:44) at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/EventListener/ErrorListener.php:117) at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:239) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:91) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:44) at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php:50) at Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Kernel.php:157) at Shopware\Core\Kernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:473) at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:448) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/HttpKernel.php:146) at Shopware\Core\HttpKernel->doHandle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/HttpKernel.php:67) at Shopware\Core\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/public/index.php:85) |
[1/3]
ErrorException
|
---|
ErrorException: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) at /home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:87 at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64) at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc() at session_start() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172) at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-foundation/Session/Session.php:59) at Symfony\Component\HttpFoundation\Session\Session->start() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:110) at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:157) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:44) at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php:50) at Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/Kernel.php:157) at Shopware\Core\Kernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:473) at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:448) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/HttpKernel.php:146) at Shopware\Core\HttpKernel->doHandle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/vendor/shopware/core/HttpKernel.php:67) at Shopware\Core\HttpKernel->handle() (/home/aeschbach-chocolatier/aeschbach-chocolatier.ch/public/index.php:85) |