MOKKA

Descripción del producto

Taza de acero inoxidable de doble capa con carcasa de bambú. Capacidad 300 ml.

Precio: 8.98 €

Ref. MO9689

Disponibilidad: En stock

Por favor seleccione un color








Failed to start the session because headers have already been sent by "/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Response.php" at line 410. (500 Internal Server Error)

Symfony Exception

ErrorException RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Response.php" at line 410.

Exceptions 2

RuntimeException

  1.         if (\PHP_SESSION_ACTIVE === session_status()) {
  2.             throw new \RuntimeException('Failed to start the session: already started by PHP.');
  3.         }
  4.         if (filter_var(\ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOL) && headers_sent($file$line)) {
  5.             throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.'$file$line));
  6.         }
  7.         $sessionId $_COOKIE[session_name()] ?? null;
  8.         /*
  9.          * Explanation of the session ID regular expression: `/^[a-zA-Z0-9,-]{22,250}$/`.
  1.         }
  2.         if (!$this->started && $this->saveHandler->isActive()) {
  3.             $this->loadSession();
  4.         } elseif (!$this->started) {
  5.             $this->start();
  6.         }
  7.         return $this->bags[$name];
  8.     }
  1.         $this->storage->registerBag(new SessionBagProxy($bag$this->data$this->usageIndex$this->usageReporter));
  2.     }
  3.     public function getBag(string $name): SessionBagInterface
  4.     {
  5.         $bag $this->storage->getBag($name);
  6.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  7.     }
  8.     /**
  1.      *
  2.      * Note that this method was added to help with IDE autocompletion.
  3.      */
  4.     private function getAttributeBag(): AttributeBagInterface
  5.     {
  6.         return $this->getBag($this->attributeName);
  7.     }
  8. }
  1.         return $this->getAttributeBag()->has($name);
  2.     }
  3.     public function get(string $namemixed $default null): mixed
  4.     {
  5.         return $this->getAttributeBag()->get($name$default);
  6.     }
  7.     /**
  8.      * @return void
  9.      */
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function get()
  5.     {
  6.         return $this->session()->get(self::ENVELOPES_NAMESPACE, array()); // @phpstan-ignore-line
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function all()
  5.     {
  6.         return array_values($this->bag->get());
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function all()
  5.     {
  6.         return $this->storage->all();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         $criteria['delay'] = 0;
  2.         // @phpstan-ignore-next-line
  3.         $criteria['hops']['min'] = 1;
  4.         $event = new FilterEvent($this->all(), $criteria);
  5.         $this->eventDispatcher->dispatch($event);
  6.         return $event->getEnvelopes();
  7.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function render(array $criteria = array(), $presenter 'html', array $context = array())
  5.     {
  6.         $envelopes $this->storageManager->filter($criteria);
  7.         $this->storageManager->remove($envelopes);
  8.         $event = new PresentationEvent($envelopes$context);
  9.         $this->eventDispatcher->dispatch($event);
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function render(array $criteria = array(), $presenter 'html', array $context = array())
  5.     {
  6.         return $this->responseManager->render($criteria$presenter$context);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         if (false === $insertPosition) {
  2.             return $response;
  3.         }
  4.         $alreadyRendered HtmlPresenter::FLASHER_FLASH_BAG_PLACE_HOLDER === $insertPlaceHolder;
  5.         $htmlResponse $this->flasher->render(array(), 'html', array('envelopes_only' => $alreadyRendered));
  6.         if (empty($htmlResponse)) {
  7.             return $response;
  8.         }
  1.     public function onKernelResponse($event)
  2.     {
  3.         $request = new Request($event->getRequest());
  4.         $response = new Response($event->getResponse());
  5.         $this->responseExtension->render($request$response);
  6.     }
  7. }
  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.     }
  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.         $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.         $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.         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 /homepages/32/d515340274/htdocs/home.q21/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 531)
  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

Warning: file_put_contents(/homepages/32/d515340274/htdocs/home.q21/var/cache/dev/profiler/c8/03/d603c8): Failed to open stream: Disk quota exceeded

  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.         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.      * @return void
  3.      */
  4.     public function terminate(Request $requestResponse $response)
  5.     {
  6.         $this->dispatcher->dispatch(new TerminateEvent($this$request$response), KernelEvents::TERMINATE);
  7.     }
  8.     /**
  9.      * @internal
  10.      */
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     /**
  9.      * @return void
  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('/homepages/32/d515340274/htdocs/home.q21/vendor/autoload_runtime.php') in /homepages/32/d515340274/htdocs/home.q21/public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Stack Traces 2

[2/2] RuntimeException
RuntimeException:
Failed to start the session because headers have already been sent by "/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Response.php" at line 410.

  at /homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:132
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:311)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Session/Session.php:222)
  at Symfony\Component\HttpFoundation\Session\Session->getBag()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Session/Session.php:242)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-foundation/Session/Session.php:69)
  at Symfony\Component\HttpFoundation\Session\Session->get()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher-symfony/Storage/SessionBag.php:44)
  at Flasher\Symfony\Storage\SessionBag->get()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Storage/StorageBag.php:31)
  at Flasher\Prime\Storage\StorageBag->all()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Storage/StorageManager.php:52)
  at Flasher\Prime\Storage\StorageManager->all()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Storage/StorageManager.php:66)
  at Flasher\Prime\Storage\StorageManager->filter()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Response/ResponseManager.php:61)
  at Flasher\Prime\Response\ResponseManager->render()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Flasher.php:106)
  at Flasher\Prime\Flasher->render()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher/Http/ResponseExtension.php:57)
  at Flasher\Prime\Http\ResponseExtension->render()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/php-flasher/flasher-symfony/EventListener/FlasherListener.php:37)
  at Flasher\Symfony\EventListener\FlasherListener->onKernelResponse()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:214)
  at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:202)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/EventListener/ErrorListener.php:117)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:239)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:132)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/error-handler/ErrorHandler.php:531)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                
[1/2] ErrorException
ErrorException:
Warning: file_put_contents(/homepages/32/d515340274/htdocs/home.q21/var/cache/dev/profiler/c8/03/d603c8): Failed to open stream: Disk quota exceeded

  at /homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:177
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/Profiler/Profiler.php:104)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:135)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/HttpKernel.php:115)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/http-kernel/Kernel.php:157)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/homepages/32/d515340274/htdocs/home.q21/vendor/autoload_runtime.php:29)
  at require_once('/homepages/32/d515340274/htdocs/home.q21/vendor/autoload_runtime.php')
     (/homepages/32/d515340274/htdocs/home.q21/public/index.php:5)