Deprecated: Constant E_STRICT is deprecated in /data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/error-handler/ErrorHandler.php on line 76
PARALANE

FOCUS Paralane

Loading…
Loading the web debug toolbar…
Attempt #
Warning: session_name(): Session name cannot be changed after headers have already been sent (500 Internal Server Error)

Symfony Exception

ErrorException ErrorException

HTTP 500 Internal Server Error

Warning: session_name(): Session name cannot be changed after headers have already been sent

Exceptions 2

ErrorException

Show exception properties
ErrorException {#20403
  #severity: E_WARNING
}
  1.     {
  2.         if ($this->isActive()) {
  3.             throw new \LogicException('Cannot change the name of an active session.');
  4.         }
  5.         session_name($name);
  6.     }
  7. }
  1.         return $this->saveHandler->getName();
  2.     }
  3.     public function setName(string $name): void
  4.     {
  5.         $this->saveHandler->setName($name);
  6.     }
  7.     public function regenerate(bool $destroy false, ?int $lifetime null): bool
  8.     {
  9.         // Cannot regenerate the session ID for non-active sessions.
  1.         return $this->storage->getName();
  2.     }
  3.     public function setName(string $name): void
  4.     {
  5.         $this->storage->setName($name);
  6.     }
  7.     public function getMetadataBag(): MetadataBag
  8.     {
  9.         ++$this->usageIndex;
  1.         }
  2.         $session $master->getSession();
  3.         if (!$session->isStarted()) {
  4.             $session->setName('session-');
  5.             $session->start();
  6.             $session->set('sessionId'$session->getId());
  7.         }
  8.         $salesChannelId $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
  1.         $this->priority ??= $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.      *
  2.      * @return TEvent
  3.      */
  4.     public function dispatch(object $event, ?string $eventName null): object
  5.     {
  6.         $event $this->dispatcher->dispatch($event$eventName);
  7.         if (!$event instanceof FlowEventAware) {
  8.             return $event;
  9.         }
  1.     ) {
  2.     }
  3.     public function dispatch(object $event, ?string $eventName null): object
  4.     {
  5.         $event $this->dispatcher->dispatch($event$eventName);
  6.         if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS'false)) {
  7.             return $event;
  8.         }
  1.                 }
  2.                 $this->dispatch($nested$name);
  3.             }
  4.         }
  5.         return $this->dispatcher->dispatch($event$eventName);
  6.     }
  7.     /**
  8.      * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9.      */
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      */
  2.     private function handleRaw(Request $requestint $type self::MAIN_REQUEST): Response
  3.     {
  4.         // request
  5.         $event = new RequestEvent($this$request$type);
  6.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  7.         if ($event->hasResponse()) {
  8.             return $this->filterResponse($event->getResponse(), $request$type);
  9.         }
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.     }
  2.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true): Response
  3.     {
  4.         if ($request->attributes->get('exception') !== null) {
  5.             return parent::handle($request$type$catch);
  6.         }
  7.         $request $this->requestTransformer->transform($request);
  8.         $redirect $this->canonicalRedirectService->getRedirect($request);
  1.         }
  2.         $request $this->duplicateRequest($throwable$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine()));
  1.         $this->priority ??= $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.      *
  2.      * @return TEvent
  3.      */
  4.     public function dispatch(object $event, ?string $eventName null): object
  5.     {
  6.         $event $this->dispatcher->dispatch($event$eventName);
  7.         if (!$event instanceof FlowEventAware) {
  8.             return $event;
  9.         }
  1.     ) {
  2.     }
  3.     public function dispatch(object $event, ?string $eventName null): object
  4.     {
  5.         $event $this->dispatcher->dispatch($event$eventName);
  6.         if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS'false)) {
  7.             return $event;
  8.         }
  1.                 }
  2.                 $this->dispatch($nested$name);
  3.             }
  4.         }
  5.         return $this->dispatcher->dispatch($event$eventName);
  6.     }
  7.     /**
  8.      * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9.      */
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * Handles a throwable by trying to convert it to a Response.
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.         if ($pop $request !== $this->requestStack->getMainRequest()) {
  2.             $this->requestStack->push($request);
  3.         }
  4.         try {
  5.             $response $this->handleThrowable($exception$requestself::MAIN_REQUEST);
  6.         } finally {
  7.             if ($pop) {
  8.                 $this->requestStack->pop();
  9.             }
  10.         }
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/error-handler/ErrorHandler.php :: {closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():76} (line 535)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 $exceptionHandler($exception);
  6.                 return;
  7.             }
  8.             $handlerException ??= $exception;
  9.         } catch (\Throwable $handlerException) {
ErrorHandler->handleException()

ErrorException

Notice: file_put_contents(): Write of 275386 bytes failed with errno=28 No space left on device

  1.         if (\function_exists('gzencode')) {
  2.             $data gzencode($data3);
  3.         }
  4.         if (false === file_put_contents($file$data\LOCK_EX)) {
  5.             return false;
  6.         }
  7.         if (!$profileIndexed) {
  8.             // Add to index
  1.             if ($collector instanceof LateDataCollectorInterface) {
  2.                 $collector->lateCollect();
  3.             }
  4.         }
  5.         if (!($ret $this->storage->write($profile)) && null !== $this->logger) {
  6.             $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]);
  7.         }
  8.         return $ret;
  9.     }
  1.             }
  2.         }
  3.         // save profiles
  4.         foreach ($this->profiles as $request) {
  5.             $this->profiler->saveProfile($this->profiles[$request]);
  6.         }
  7.         $this->profiles = new \SplObjectStorage();
  8.         $this->parents = new \SplObjectStorage();
  9.     }
  1.         $this->priority ??= $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.      *
  2.      * @return TEvent
  3.      */
  4.     public function dispatch(object $event, ?string $eventName null): object
  5.     {
  6.         $event $this->dispatcher->dispatch($event$eventName);
  7.         if (!$event instanceof FlowEventAware) {
  8.             return $event;
  9.         }
  1.     ) {
  2.     }
  3.     public function dispatch(object $event, ?string $eventName null): object
  4.     {
  5.         $event $this->dispatcher->dispatch($event$eventName);
  6.         if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS'false)) {
  7.             return $event;
  8.         }
  1.                 }
  2.                 $this->dispatch($nested$name);
  3.             }
  4.         }
  5.         return $this->dispatcher->dispatch($event$eventName);
  6.     }
  7.     /**
  8.      * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9.      */
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.         }
  2.     }
  3.     public function terminate(Request $requestResponse $response): void
  4.     {
  5.         $this->dispatcher->dispatch(new TerminateEvent($this$request$response), KernelEvents::TERMINATE);
  6.     }
  7.     /**
  8.      * @internal
  9.      */
  1.         if (\in_array('fresh'$this->traces[$this->getTraceKey($request)] ?? [], true)) {
  2.             return;
  3.         }
  4.         if ($this->getKernel() instanceof TerminableInterface) {
  5.             $this->getKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     /**
  9.      * Forwards the Request to the backend without storing the Response in the cache.
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     public function shutdown(): void
  9.     {
  1.         } else {
  2.             $response->send();
  3.         }
  4.         if ($this->kernel instanceof TerminableInterface) {
  5.             $this->kernel->terminate($this->request$response);
  6.         }
  7.         return 0;
  8.     }
  9. }
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/autoload_runtime.php') in /data/web/1/000/083/659/342542/htdocs/shopware6/public/index.php (line 11)
  1. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  2. use Symfony\Component\HttpFoundation\Response;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ '/../.env') && !file_exists(__DIR__ '/../.env.dist') && !file_exists(__DIR__ '/../.env.local.php')) {
  6.     $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

Stack Traces 2

[2/2] ErrorException
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent

  at /data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:96
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-foundation/Session/Session.php:181)
  at Symfony\Component\HttpFoundation\Session\Session->setName()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpKernel.php:154)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:41)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/EventListener/ErrorListener.php:111)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpKernel.php:236)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpKernel.php:129)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::{closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():76}()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/error-handler/ErrorHandler.php:535)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                
[1/2] ErrorException
ErrorException:
Notice: file_put_contents(): Write of 275386 bytes failed with errno=28 No space left on device

  at /data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:170
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/Profiler/Profiler.php:100)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:135)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:127)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpKernel.php:112)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/HttpCache/HttpCache.php:249)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/http-kernel/Kernel.php:148)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/autoload_runtime.php:29)
  at require_once('/data/web/1/000/083/659/342542/htdocs/shopware6/vendor/autoload_runtime.php')
     (/data/web/1/000/083/659/342542/htdocs/shopware6/public/index.php:11)