^ "3.21.159.216"
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kubikum/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:174) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Warning: Cannot modify header information - headers already sent by (output started at /var/www/kubikum/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:174)

Exception

ErrorException

  1.         }
  2.         if (null === $sessionCookie) {
  3.             return null;
  4.         }
  5.         header_remove('Set-Cookie');
  6.         foreach ($otherCookies as $h) {
  7.             header($hfalse);
  8.         }
  9.         return $sessionCookie;
  1.             $sessionCookieSecure $sessionOptions['cookie_secure'] ?? false;
  2.             $sessionCookieHttpOnly $sessionOptions['cookie_httponly'] ?? true;
  3.             $sessionCookieSameSite $sessionOptions['cookie_samesite'] ?? Cookie::SAMESITE_LAX;
  4.             $sessionUseCookies $sessionOptions['use_cookies'] ?? true;
  5.             SessionUtils::popSessionCookie($sessionName$sessionId);
  6.             if ($sessionUseCookies) {
  7.                 $request $event->getRequest();
  8.                 $requestSessionCookieId $request->cookies->get($sessionName);
  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.         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 filterResponse(Response $responseRequest $requestint $type): Response
  3.     {
  4.         $event = new ResponseEvent($this$request$type$response);
  5.         $this->dispatcher->dispatch($eventKernelEvents::RESPONSE);
  6.         $this->finishRequest($request$type);
  7.         return $event->getResponse();
  8.     }
in vendor/symfony/http-kernel/HttpKernel.php -> filterResponse (line 184)
  1.                 throw new ControllerDoesNotReturnResponseException($msg$controller__FILE____LINE__ 17);
  2.             }
  3.         }
  4.         return $this->filterResponse($response$request$type);
  5.     }
  6.     /**
  7.      * Filters a response object.
  8.      *
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 20)
  1.     Debug::enable();
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Trace

ErrorException
ErrorException:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kubikum/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:174)

  at vendor/symfony/http-foundation/Session/SessionUtils.php:52
  at Symfony\Component\HttpFoundation\Session\SessionUtils::popSessionCookie()
     (vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php:165)
  at Symfony\Component\HttpKernel\EventListener\AbstractSessionListener->onKernelResponse()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:196)
  at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
     (vendor/symfony/http-kernel/HttpKernel.php:184)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:20)