Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Freizeit & Elektro

Suchen Sie nach frischen Backwaren für den nächsten Brunch, feinstem Fisch für ein romantisches Dinner oder einer süßen Versuchung zum Kaffee? Bei uns finden Sie alles, was Ihr Herz begehrt – bequem von zu Hause aus!

Unser Sortiment an frischen Lebensmitteln lässt keine Wünsche offen:

  • Backwaren: Von knusprigen Brötchen über saftige Kuchen bis hin zu herzhaften Broten – unsere Bäckerei liefert täglich frische Backwaren direkt zu Ihnen nach Hause.
  • Fisch: Entdecken Sie eine vielfältige Auswahl an frischem Fisch und Meeresfrüchten. Ob Lachs, Thunfisch oder Zander – bei uns finden Sie garantiert Ihren neuen Lieblingsfisch.
  • Süßes: Naschkatzen aufgepasst! Unsere Süßwarenabteilung bietet eine große Auswahl an Schokolade, Bonbons, Pralinen und anderen süßen Leckereien.

Warum bei uns einkaufen?

  • Frische garantiert: Unsere Produkte werden täglich frisch für Sie zubereitet und geliefert.
  • Große Auswahl: Entdecken Sie ein umfangreiches Sortiment an Lebensmitteln für jeden Geschmack.
  • Bequem online bestellen: Sparen Sie sich den Weg zum Supermarkt und bestellen Sie Ihre Lebensmittel ganz einfach online.
  • Schnelle Lieferung: Ihre Bestellung wird schnell und zuverlässig zu Ihnen nach Hause geliefert.
Loading…
Loading the web debug toolbar…
Attempt #
Failed to start the session because headers have already been sent by "/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-foundation/Response.php" at line 382. (500 Internal Server Error)

Symfony Exception

Error RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-foundation/Response.php" at line 382.

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. $this->registerBag($flashes);
  2. }
  3. public function start(): bool
  4. {
  5. return $this->storage->start();
  6. }
  7. public function has(string $name): bool
  8. {
  9. return $this->getAttributeBag()->has($name);
  1. }
  2. $session = $mainRequest->getSession();
  3. if (!$session->isStarted()) {
  4. $session->start();
  5. $session->set('sessionId', $session->getId());
  6. }
  7. $salesChannelId = $mainRequest->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
  8. if ($salesChannelId === null) {
  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 (!HookableEventFactory::isHookable($event)) {
  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 $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::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 $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
  3. {
  4. if ($request->attributes->get('exception') !== null) {
  5. return parent::handle($request, $type, $catch);
  6. }
  7. if (!$request->attributes->has('sw-skip-transformer')) {
  8. try {
  9. $request = $this->requestTransformer->transform($request);
  1. }
  2. $request = $this->duplicateRequest($throwable, $event->getRequest());
  3. try {
  4. $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
  5. } catch (\Exception $e) {
  6. $f = FlattenException::createFromThrowable($e);
  7. $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()));
  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 (!HookableEventFactory::isHookable($event)) {
  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 $e, Request $request, int $type): Response
  4. {
  5. $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating);
  6. $this->dispatcher->dispatch($event, KernelEvents::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, $request, self::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) {
  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(object(Error))

Error

Cannot instantiate interface Symfony\Contracts\HttpClient\HttpClientInterface

  1. if (isset($container->privates['Shopware\\Core\\Service\\ServiceClientFactory'])) {
  2. return $container->privates['Shopware\\Core\\Service\\ServiceClientFactory'];
  3. }
  4. return $container->privates['Shopware\\Core\\Service\\ServiceClientFactory'] = new \Shopware\Core\Service\ServiceClientFactory(($container->privates['Symfony\\Contracts\\HttpClient\\HttpClientInterface'] ??= new \Symfony\Contracts\HttpClient\HttpClientInterface()), ($container->privates['Shopware\\Core\\Service\\ServiceRegistry\\Client'] ?? self::getClient2Service($container)), '6.7.3.1', ($container->privates['shopware.app_system.guzzle.middleware'] ?? self::getShopware_AppSystem_Guzzle_MiddlewareService($container)), $a);
  5. }
  6. /**
  7. * Gets the private 'Shopware\Core\Service\ServiceLifecycle' shared service.
  8. *
  1. *
  2. * @return \Shopware\Core\Service\ServiceLifecycle
  3. */
  4. protected static function getServiceLifecycleService($container)
  5. {
  6. $a = ($container->privates['Shopware\\Core\\Service\\ServiceClientFactory'] ?? self::getServiceClientFactoryService($container));
  7. if (isset($container->privates['Shopware\\Core\\Service\\ServiceLifecycle'])) {
  8. return $container->privates['Shopware\\Core\\Service\\ServiceLifecycle'];
  9. }
  10. $b = ($container->privates['Shopware\\Core\\Framework\\App\\Lifecycle\\AppLifecycle'] ?? self::getAppLifecycleService($container));
  1. $d = ($container->privates['Shopware\\Core\\Framework\\App\\Lifecycle\\AppLifecycle'] ?? self::getAppLifecycleService($container));
  2. if (isset($container->privates['Shopware\\Core\\Service\\LifecycleManager'])) {
  3. return $container->privates['Shopware\\Core\\Service\\LifecycleManager'];
  4. }
  5. $e = ($container->privates['Shopware\\Core\\Service\\ServiceLifecycle'] ?? self::getServiceLifecycleService($container));
  6. if (isset($container->privates['Shopware\\Core\\Service\\LifecycleManager'])) {
  7. return $container->privates['Shopware\\Core\\Service\\LifecycleManager'];
  8. }
  9. $f = ($container->services['messenger.default_bus'] ?? self::getMessenger_DefaultBusService($container));
  1. *
  2. * @return \Shopware\Core\Service\Subscriber\SystemUpdateSubscriber
  3. */
  4. protected static function getSystemUpdateSubscriberService($container)
  5. {
  6. $a = ($container->privates['Shopware\\Core\\Service\\LifecycleManager'] ?? self::getLifecycleManagerService($container));
  7. if (isset($container->privates['Shopware\\Core\\Service\\Subscriber\\SystemUpdateSubscriber'])) {
  8. return $container->privates['Shopware\\Core\\Service\\Subscriber\\SystemUpdateSubscriber'];
  9. }
  1. $instance->addListener('Shopware\\Core\\Framework\\Update\\Event\\UpdatePostFinishEvent', [#[\Closure(name: 'Shopware\\Storefront\\Theme\\Subscriber\\UpdateSubscriber')] fn () => ($container->privates['Shopware\\Storefront\\Theme\\Subscriber\\UpdateSubscriber'] ?? self::getUpdateSubscriber2Service($container)), 'updateFinished'], 0);
  2. $instance->addListener('Shopware\\Core\\Content\\Media\\Event\\UnusedMediaSearchEvent', [#[\Closure(name: 'Shopware\\Storefront\\Theme\\Subscriber\\UnusedMediaSubscriber')] fn () => ($container->privates['Shopware\\Storefront\\Theme\\Subscriber\\UnusedMediaSubscriber'] ?? self::getUnusedMediaSubscriber2Service($container)), 'removeUsedMedia'], 0);
  3. $instance->addListener('Shopware\\Core\\System\\Snippet\\Event\\SnippetsThemeResolveEvent', [#[\Closure(name: 'Shopware\\Storefront\\Theme\\Subscriber\\ThemeSnippetsSubscriber')] fn () => ($container->privates['Shopware\\Storefront\\Theme\\Subscriber\\ThemeSnippetsSubscriber'] ?? self::getThemeSnippetsSubscriberService($container)), 'onSnippetsThemeResolve'], 0);
  4. $instance->addListener('Shopware\\Core\\Framework\\Update\\Event\\ExtensionCompatibilitiesResolvedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\ExtensionCompatibilitiesResolvedSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\ExtensionCompatibilitiesResolvedSubscriber'] ?? self::getExtensionCompatibilitiesResolvedSubscriberService($container)), 'markAppsWithServiceAsCompatible'], 0);
  5. $instance->addListener('Shopware\\Core\\Framework\\Store\\Event\\InstalledExtensionsListingLoadedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\InstalledExtensionsListingLoadedSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\InstalledExtensionsListingLoadedSubscriber'] ?? self::getInstalledExtensionsListingLoadedSubscriberService($container)), 'removeAppsWithService'], 0);
  6. $instance->addListener('Shopware\\Core\\Framework\\Update\\Event\\UpdatePostFinishEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\SystemUpdateSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\SystemUpdateSubscriber'] ?? self::getSystemUpdateSubscriberService($container)), 'sync'], 0);
  7. $instance->addListener('Shopware\\Core\\Framework\\App\\Event\\AppInstalledEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber'] ?? self::getLicenseSyncSubscriberService($container)), 'serviceInstalled'], 0);
  8. $instance->addListener('Shopware\\Core\\Framework\\App\\Event\\AppUpdatedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber'] ?? self::getLicenseSyncSubscriberService($container)), 'serviceInstalled'], 0);
  9. $instance->addListener('Shopware\\Core\\System\\SystemConfig\\Event\\BeforeSystemConfigChangedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber'] ?? self::getLicenseSyncSubscriberService($container)), 'syncLicense'], 0);
  10. $instance->addListener('Shopware\\Core\\Service\\Event\\ServiceInstalledEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\ServiceLifecycleSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\ServiceLifecycleSubscriber'] ?? self::getServiceLifecycleSubscriberService($container)), 'syncState'], 0);
  11. $instance->addListener('Shopware\\Core\\Service\\Event\\ServiceUpdatedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\ServiceLifecycleSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\ServiceLifecycleSubscriber'] ?? self::getServiceLifecycleSubscriberService($container)), 'syncState'], 0);
  1. $this->sorted[$eventName] = [];
  2. foreach ($this->listeners[$eventName] as &$listeners) {
  3. foreach ($listeners as &$listener) {
  4. if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
  5. $listener[0] = $listener[0]();
  6. $listener[1] ??= '__invoke';
  7. }
  8. $this->sorted[$eventName][] = $listener;
  9. }
  10. }
  1. return $this->sorted[$eventName];
  2. }
  3. foreach ($this->listeners as $eventName => $eventListeners) {
  4. if (!isset($this->sorted[$eventName])) {
  5. $this->sortListeners($eventName);
  6. }
  7. }
  8. return array_filter($this->sorted);
  9. }
  1. /**
  2. * @return array<array-key, array<array-key, callable(object): void>|callable(object): void>
  3. */
  4. public function getListeners(?string $eventName = null): array
  5. {
  6. return $this->dispatcher->getListeners($eventName);
  7. }
  8. public function getListenerPriority(string $eventName, callable $listener): ?int
  9. {
  10. return $this->dispatcher->getListenerPriority($eventName, $listener);
  1. /**
  2. * @return array<array-key, array<array-key, callable(object): void>|callable(object): void>
  3. */
  4. public function getListeners(?string $eventName = null): array
  5. {
  6. return $this->dispatcher->getListeners($eventName);
  7. }
  8. public function getListenerPriority(string $eventName, callable $listener): ?int
  9. {
  10. /** @var callable(object): void $listener - Specify generic callback interface callers can provide more specific implementations */
  1. /**
  2. * @return array<array-key, array<array-key, callable(object): void>|callable(object): void>
  3. */
  4. public function getListeners(?string $eventName = null): array
  5. {
  6. return $this->dispatcher->getListeners($eventName);
  7. }
  8. public function getListenerPriority(string $eventName, callable $listener): ?int
  9. {
  10. /** @var callable(object): void $listener - Specify generic callback interface callers can provide more specific implementations */
  1. $this->dispatcher->removeSubscriber($subscriber);
  2. }
  3. public function getListeners(?string $eventName = null): array
  4. {
  5. return $this->dispatcher->getListeners($eventName);
  6. }
  7. public function getListenerPriority(string $eventName, callable|array $listener): ?int
  8. {
  9. // we might have wrapped listeners for the event (if called while dispatching)
  1. private function getListenersWithoutPriority(): array
  2. {
  3. $result = [];
  4. foreach ($this->getListeners() as $eventName => $listeners) {
  5. foreach ($listeners as $listener) {
  6. $result[$eventName][] = [$listener, null];
  7. }
  8. }
  1. }
  2. public function getNotCalledListeners(?Request $request = null): array
  3. {
  4. try {
  5. $allListeners = $this->dispatcher instanceof EventDispatcher ? $this->getListenersWithPriority() : $this->getListenersWithoutPriority();
  6. } catch (\Exception $e) {
  7. $this->logger?->info('An exception was thrown while getting the uncalled listeners.', ['exception' => $e]);
  8. // unable to retrieve the uncalled listeners
  9. return [];
  1. if (!$dispatcher instanceof TraceableEventDispatcher) {
  2. continue;
  3. }
  4. $this->setCalledListeners($dispatcher->getCalledListeners($this->currentRequest), $name);
  5. $this->setNotCalledListeners($dispatcher->getNotCalledListeners($this->currentRequest), $name);
  6. $this->setOrphanedEvents($dispatcher->getOrphanedEvents($this->currentRequest), $name);
  7. }
  8. $this->data = $this->cloneVar($this->data);
  9. }
  1. public function saveProfile(Profile $profile): bool
  2. {
  3. // late collect
  4. foreach ($profile->getCollectors() as $collector) {
  5. if ($collector instanceof LateDataCollectorInterface) {
  6. $collector->lateCollect();
  7. }
  8. }
  9. if (!($ret = $this->storage->write($profile)) && null !== $this->logger) {
  10. $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]);
  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 (!HookableEventFactory::isHookable($event)) {
  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. public function terminate(Request $request, Response $response): void
  2. {
  3. try {
  4. $this->terminating = true;
  5. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6. } finally {
  7. $this->terminating = false;
  8. }
  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('/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/autoload_runtime.php') in /www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/public/index.php (line 10)
  1. use Shopware\Core\Installer\InstallerKernel;
  2. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  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] RuntimeException
RuntimeException:
Failed to start the session because headers have already been sent by "/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-foundation/Response.php" at line 382.

  at /www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:116
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-foundation/Session/Session.php:59)
  at Symfony\Component\HttpFoundation\Session\Session->start()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:89)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle(object(Request), 2, false)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpKernel.php:241)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(Error), object(Request), 1)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpKernel.php:134)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(Error), object(Request))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(Error))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/error-handler/ErrorHandler.php:538)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(Error))                
[1/2] Error
Error:
Cannot instantiate interface Symfony\Contracts\HttpClient\HttpClientInterface

  at /www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/var/cache/dev_h2058160665d561e243e2179050f25323/ContainerBzo7LtD/Shopware_Core_KernelDevDebugContainer.php:34765
  at ContainerBzo7LtD\Shopware_Core_KernelDevDebugContainer::getServiceClientFactoryService(object(Shopware_Core_KernelDevDebugContainer))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/var/cache/dev_h2058160665d561e243e2179050f25323/ContainerBzo7LtD/Shopware_Core_KernelDevDebugContainer.php:34775)
  at ContainerBzo7LtD\Shopware_Core_KernelDevDebugContainer::getServiceLifecycleService(object(Shopware_Core_KernelDevDebugContainer))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/var/cache/dev_h2058160665d561e243e2179050f25323/ContainerBzo7LtD/Shopware_Core_KernelDevDebugContainer.php:34632)
  at ContainerBzo7LtD\Shopware_Core_KernelDevDebugContainer::getLifecycleManagerService(object(Shopware_Core_KernelDevDebugContainer))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/var/cache/dev_h2058160665d561e243e2179050f25323/ContainerBzo7LtD/Shopware_Core_KernelDevDebugContainer.php:34947)
  at ContainerBzo7LtD\Shopware_Core_KernelDevDebugContainer::getSystemUpdateSubscriberService(object(Shopware_Core_KernelDevDebugContainer))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/var/cache/dev_h2058160665d561e243e2179050f25323/ContainerBzo7LtD/Shopware_Core_KernelDevDebugContainer.php:13388)
  at ContainerBzo7LtD\Shopware_Core_KernelDevDebugContainer::ContainerBzo7LtD\{closure}()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:221)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('Shopware\\Core\\Framework\\Update\\Event\\UpdatePostFinishEvent')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:78)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners('Shopware\\Core\\Framework\\Update\\Event\\UpdatePostFinishEvent')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:96)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners(null)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:69)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners(null)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:64)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners(null)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:82)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:347)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:164)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners(null)
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php:74)
  at Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/Profiler/Profiler.php:93)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/HttpCache/HttpCache.php:255)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate(object(Request), object(Response))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/http-kernel/Kernel.php:145)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/autoload_runtime.php:29)
  at require_once('/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/vendor/autoload_runtime.php')
     (/www/htdocs/w01b82ab/entwicklung-intern/shopware6-demo.entwurf.dev/public/index.php:10)