ErrorException {#10171 #severity: E_WARNING }
{ 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; } } public function dispatch(object $event, ?string $eventName = null): object { if (!License::get('SUBSCRIPTIONS-3156213')) { return $this->decorated->dispatch($event, $eventName); } if (!$eventName) { $eventName = $event::class; } * * @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; } $throwable = $event->getThrowable(); $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(), $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; } } public function dispatch(object $event, ?string $eventName = null): object { if (!License::get('SUBSCRIPTIONS-3156213')) { return $this->decorated->dispatch($event, $eventName); } if (!$eventName) { $eventName = $event::class; } * * @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) { { 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; } } public function dispatch(object $event, ?string $eventName = null): object { if (!License::get('SUBSCRIPTIONS-3156213')) { return $this->decorated->dispatch($event, $eventName); } if (!$eventName) { $eventName = $event::class; } * * @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; } $throwable = $event->getThrowable(); $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(), $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; } } public function dispatch(object $event, ?string $eventName = null): object { if (!License::get('SUBSCRIPTIONS-3156213')) { return $this->decorated->dispatch($event, $eventName); } if (!$eventName) { $eventName = $event::class; } * * @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; $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; } } 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()); $this->httpKernel = $httpKernel; } public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response { return $this->httpKernel->handle($request, $type, $catch)->getResponse(); } public function terminate(Request $request, Response $response): void { $this->httpKernel->terminate($request, $response); $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); }$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());use Symfony\Component\HttpKernel\HttpKernelInterface;use Symfony\Component\HttpKernel\TerminableInterface;$_SERVER['SCRIPT_FILENAME'] = __FILE__;require_once __DIR__ . '/../vendor/autoload_runtime.php';if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;} } if (null === $sessionCookie) { return null; } header_remove('Set-Cookie'); foreach ($otherCookies as $h) { header($h, false); } return $sessionCookie; $sessionCookieSecure = $sessionOptions['cookie_secure'] ?? false; $sessionCookieHttpOnly = $sessionOptions['cookie_httponly'] ?? true; $sessionCookieSameSite = $sessionOptions['cookie_samesite'] ?? Cookie::SAMESITE_LAX; $sessionUseCookies = $sessionOptions['use_cookies'] ?? true; SessionUtils::popSessionCookie($sessionName, $sessionId); if ($sessionUseCookies) { $request = $event->getRequest(); $requestSessionCookieId = $request->cookies->get($sessionName); $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; } } public function dispatch(object $event, ?string $eventName = null): object { if (!License::get('SUBSCRIPTIONS-3156213')) { return $this->decorated->dispatch($event, $eventName); } if (!$eventName) { $eventName = $event::class; } * * @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 filterResponse(Response $response, Request $request, int $type): Response { $event = new ResponseEvent($this, $request, $type, $response); $this->dispatcher->dispatch($event, KernelEvents::RESPONSE); $this->finishRequest($request, $type); return $event->getResponse(); } throw new ControllerDoesNotReturnResponseException($msg, $controller, __FILE__, __LINE__ - 17); } } return $this->filterResponse($response, $request, $type); } /** * Filters a response object. * $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; } $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; } } 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()); $this->httpKernel = $httpKernel; } public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response { return $this->httpKernel->handle($request, $type, $catch)->getResponse(); } public function terminate(Request $request, Response $response): void { $this->httpKernel->terminate($request, $response); $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); }$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());use Symfony\Component\HttpKernel\HttpKernelInterface;use Symfony\Component\HttpKernel\TerminableInterface;$_SERVER['SCRIPT_FILENAME'] = __FILE__;require_once __DIR__ . '/../vendor/autoload_runtime.php';if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;}|
[3/3]
ErrorException
|
|---|
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent
at /opt/hafnerdevende/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:108
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName()
(/opt/hafnerdevende/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:204)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName()
(/opt/hafnerdevende/vendor/symfony/http-foundation/Session/Session.php:199)
at Symfony\Component\HttpFoundation\Session\Session->setName()
(/opt/hafnerdevende/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109)
at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/opt/hafnerdevende/custom/plugins/SwagCommercial/src/Subscription/Framework/Event/SubscriptionEventDispatcher.php:27)
at Shopware\Commercial\Subscription\Framework\Event\SubscriptionEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:157)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/EventListener/ErrorListener.php:108)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/opt/hafnerdevende/custom/plugins/SwagCommercial/src/Subscription/Framework/Event/SubscriptionEventDispatcher.php:27)
at Shopware\Commercial\Subscription\Framework\Event\SubscriptionEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:239)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:132)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
(/opt/hafnerdevende/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:74)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
(/opt/hafnerdevende/vendor/symfony/error-handler/ErrorHandler.php:537)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException()
|
|
[2/3]
ErrorException
|
|---|
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent
at /opt/hafnerdevende/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:108
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName()
(/opt/hafnerdevende/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:204)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName()
(/opt/hafnerdevende/vendor/symfony/http-foundation/Session/Session.php:199)
at Symfony\Component\HttpFoundation\Session\Session->setName()
(/opt/hafnerdevende/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109)
at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/opt/hafnerdevende/custom/plugins/SwagCommercial/src/Subscription/Framework/Event/SubscriptionEventDispatcher.php:27)
at Shopware\Commercial\Subscription\Framework\Event\SubscriptionEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:157)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/EventListener/ErrorListener.php:108)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/opt/hafnerdevende/custom/plugins/SwagCommercial/src/Subscription/Framework/Event/SubscriptionEventDispatcher.php:27)
at Shopware\Commercial\Subscription\Framework\Event\SubscriptionEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:239)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:91)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:473)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:448)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
(/opt/hafnerdevende/vendor/shopware/core/HttpKernel.php:143)
at Shopware\Core\HttpKernel->doHandle()
(/opt/hafnerdevende/vendor/shopware/core/HttpKernel.php:65)
at Shopware\Core\HttpKernel->handle()
(/opt/hafnerdevende/public/index.php:71)
at Symfony\Component\HttpKernel\HttpKernelInterface@anonymous /opt/hafnerdevende/public/index.php:61$0->handle()
(/opt/hafnerdevende/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/opt/hafnerdevende/vendor/autoload_runtime.php:29)
at require_once('/opt/hafnerdevende/vendor/autoload_runtime.php')
(/opt/hafnerdevende/public/index.php:14)
|
|
[1/3]
ErrorException
|
|---|
ErrorException:
Warning: Cannot modify header information - headers already sent by (output started at /opt/hafnerdevende/vendor/dompdf/dompdf/src/Adapter/CPDF.php:922)
at /opt/hafnerdevende/vendor/symfony/http-foundation/Session/SessionUtils.php:52
at Symfony\Component\HttpFoundation\Session\SessionUtils::popSessionCookie()
(/opt/hafnerdevende/vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php:160)
at Symfony\Component\HttpKernel\EventListener\AbstractSessionListener->onKernelResponse()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/opt/hafnerdevende/custom/plugins/SwagCommercial/src/Subscription/Framework/Event/SubscriptionEventDispatcher.php:27)
at Shopware\Commercial\Subscription\Framework\Event\SubscriptionEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/opt/hafnerdevende/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:214)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:202)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:473)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:448)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
(/opt/hafnerdevende/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
(/opt/hafnerdevende/vendor/shopware/core/HttpKernel.php:143)
at Shopware\Core\HttpKernel->doHandle()
(/opt/hafnerdevende/vendor/shopware/core/HttpKernel.php:65)
at Shopware\Core\HttpKernel->handle()
(/opt/hafnerdevende/public/index.php:71)
at Symfony\Component\HttpKernel\HttpKernelInterface@anonymous /opt/hafnerdevende/public/index.php:61$0->handle()
(/opt/hafnerdevende/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/opt/hafnerdevende/vendor/autoload_runtime.php:29)
at require_once('/opt/hafnerdevende/vendor/autoload_runtime.php')
(/opt/hafnerdevende/public/index.php:14)
|