Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Individuelle Beratung & Angebot 

Sie planen ein Objekt oder benötigen größere Menge? Kontaktieren Sie unsere Fachberatung für Muster, Stücklisten, 3D-Daten und ein projektbezogenes Angebot. 

Wir liefern nach Ihrem gewünschten Liefertermin.

Die Geschichte dafür beginnt in einem alten Königreich namens "Lorem Ipsum". Die Antwort ist deutlich länger als erwartet, dadurch entsteht ein Text der mehrere Zeilen umfasst und eine lange Geschichte erzählt.

Produktgalerie überspringen

Ähnliche Artikel

Farbvarianten
London

Regulärer Preis:
223,90 €
Farbvarianten
Swing Sofa 2

Regulärer Preis:
373,90 €
(+49) 09562 4048280
Live Chat Showroom Katalog Muster

Kontakt aufnehmen

Kontaktformular

Die mit einem Stern (*) markierten Felder sind Pflichtfelder.

Failed to start the session because headers have already been sent by "/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-foundation/Response.php" at line 388. (500 Internal Server Error)

Symfony Exception

ClassNotFoundError RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-foundation/Response.php" at line 388.

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) {
in /home/p-fdl58d/html/objekt-m-staging/vendor/symfony/error-handler/ErrorHandler.php :: {closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():71} (line 538)
  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(ClassNotFoundError))

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

Attempted to load class "ManualProductSortDefinition" from namespace "Netzkollektiv\ManualProductSort\Entity". Did you forget a "use" statement for another namespace?

  1. *
  2. * @return \Netzkollektiv\ManualProductSort\Entity\ManualProductSortDefinition
  3. */
  4. protected static function getManualProductSortDefinitionService($container)
  5. {
  6. $container->services['Netzkollektiv\\ManualProductSort\\Entity\\ManualProductSortDefinition'] = $instance = new \Netzkollektiv\ManualProductSort\Entity\ManualProductSortDefinition();
  7. $instance->compile(($container->services['Shopware\\Core\\Framework\\DataAbstractionLayer\\DefinitionInstanceRegistry'] ?? self::getDefinitionInstanceRegistryService($container)));
  8. return $instance;
  9. }
  1. yield 303 => ($container->services['DreiscSeoFilter\\Core\\Content\\DreiscSeoFilterSpecialFilter\\DreiscSeoFilterSpecialFilterDefinition'] ?? self::getDreiscSeoFilterSpecialFilterDefinitionService($container));
  2. yield 304 => ($container->services['DreiscSeoFilter\\Core\\Content\\DreiscSeoFilterUrl\\DreiscSeoFilterUrlDefinition'] ?? self::getDreiscSeoFilterUrlDefinitionService($container));
  3. yield 305 => ($container->services['CobTwoFactor\\Core\\Content\\TwoFactorDevice\\TwoFactorDeviceDefinition'] ?? self::getTwoFactorDeviceDefinitionService($container));
  4. yield 306 => ($container->services['Mondu\\MonduPayment\\Components\\Order\\Model\\Definition\\OrderDataDefinition'] ?? self::getOrderDataDefinitionService($container));
  5. yield 307 => ($container->services['Mondu\\MonduPayment\\Components\\Invoice\\InvoiceDataDefinition'] ?? self::getInvoiceDataDefinitionService($container));
  6. yield 308 => ($container->services['Netzkollektiv\\ManualProductSort\\Entity\\ManualProductSortDefinition'] ?? self::getManualProductSortDefinitionService($container));
  7. yield 309 => ($container->services['Frosh\\MailArchive\\Content\\MailArchive\\MailArchiveAttachmentDefinition'] ?? self::getMailArchiveAttachmentDefinitionService($container));
  8. yield 310 => ($container->services['Frosh\\MailArchive\\Content\\MailArchive\\MailArchiveDefinition'] ?? self::getMailArchiveDefinitionService($container));
  9. yield 311 => ($container->services['measurement_system.definition'] ?? self::getMeasurementSystem_DefinitionService($container));
  10. yield 312 => ($container->services['measurement_system_translation.definition'] ?? self::getMeasurementSystemTranslation_DefinitionService($container));
  11. yield 313 => ($container->services['measurement_display_unit.definition'] ?? self::getMeasurementDisplayUnit_DefinitionService($container));
in /home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/System/UsageData/Services/EntityDefinitionService.php :: {closure:ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEntityDefinitionServiceService():53296} (line 29)
  1. */
  2. public function __construct(
  3. iterable $entityDefinitions,
  4. private readonly UsageDataAllowListService $usageDataAllowListService,
  5. ) {
  6. foreach ($entityDefinitions as $entityDefinition) {
  7. $this->addEntityDefinition($entityDefinition);
  8. }
  9. }
  10. public function getAllowedEntityDefinition(string $entityName): ?EntityDefinition
  1. *
  2. * @return \Shopware\Core\System\UsageData\Services\EntityDefinitionService
  3. */
  4. protected static function getEntityDefinitionServiceService($container)
  5. {
  6. return $container->privates['Shopware\\Core\\System\\UsageData\\Services\\EntityDefinitionService'] = new \Shopware\Core\System\UsageData\Services\EntityDefinitionService(new RewindableGenerator(function () use ($container) {
  7. yield 0 => ($container->services['Shopware\\Core\\Framework\\Log\\LogEntryDefinition'] ?? self::getLogEntryDefinitionService($container));
  8. yield 1 => ($container->services['Shopware\\Core\\Framework\\Api\\Acl\\Role\\AclRoleDefinition'] ?? self::getAclRoleDefinitionService($container));
  9. yield 2 => ($container->services['Shopware\\Core\\Framework\\Api\\Acl\\Role\\AclUserRoleDefinition'] ?? self::getAclUserRoleDefinitionService($container));
  10. yield 3 => ($container->services['Shopware\\Core\\Framework\\App\\AppDefinition'] ?? self::getAppDefinitionService($container));
  11. yield 4 => ($container->services['Shopware\\Core\\Framework\\App\\Aggregate\\AppTranslation\\AppTranslationDefinition'] ?? self::getAppTranslationDefinitionService($container));
  1. if (isset($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber'])) {
  2. return $container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber'];
  3. }
  4. $instance = new \Shopware\Core\System\UsageData\Subscriber\EntityDeleteSubscriber(($container->privates['Shopware\\Core\\System\\UsageData\\Services\\EntityDefinitionService'] ?? self::getEntityDefinitionServiceService($container)), ($container->services['Doctrine\\DBAL\\Connection'] ?? self::getConnectionService($container)), ($container->privates['clock'] ??= new \Symfony\Component\Clock\Clock()), $a, true);
  5. if (isset($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber'])) {
  6. return $container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber'];
  7. }
  1. $instance->addListener('Shopware\\Core\\Framework\\DataAbstractionLayer\\Write\\Validation\\PreWriteValidationEvent', [#[\Closure(name: 'Shopware\\Core\\System\\SalesChannel\\Subscriber\\SalesChannelTypeValidator')] fn () => ($container->privates['Shopware\\Core\\System\\SalesChannel\\Subscriber\\SalesChannelTypeValidator'] ??= new \Shopware\Core\System\SalesChannel\Subscriber\SalesChannelTypeValidator()), 'preWriteValidateEvent'], 0);
  2. $instance->addListener('currency.loaded', [#[\Closure(name: 'Shopware\\Core\\System\\Currency\\CurrencyLoadSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\Currency\\CurrencyLoadSubscriber'] ??= new \Shopware\Core\System\Currency\CurrencyLoadSubscriber()), 'setDefault'], 0);
  3. $instance->addListener('currency.partial_loaded', [#[\Closure(name: 'Shopware\\Core\\System\\Currency\\CurrencyLoadSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\Currency\\CurrencyLoadSubscriber'] ??= new \Shopware\Core\System\Currency\CurrencyLoadSubscriber()), 'setDefault'], 0);
  4. $instance->addListener('Shopware\\Core\\Framework\\DataAbstractionLayer\\Write\\Validation\\PreWriteValidationEvent', [#[\Closure(name: 'Shopware\\Core\\System\\Currency\\CurrencyValidator')] fn () => ($container->privates['Shopware\\Core\\System\\Currency\\CurrencyValidator'] ??= new \Shopware\Core\System\Currency\CurrencyValidator()), 'preValidate'], 0);
  5. $instance->addListener('Shopware\\Core\\System\\SystemConfig\\Event\\SystemConfigChangedEvent', [#[\Closure(name: 'Shopware\\Core\\System\\UsageData\\Subscriber\\UsageDataApprovalSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\UsageDataApprovalSubscriber'] ?? self::getUsageDataApprovalSubscriberService($container)), 'onDataUsageApprovalChange'], 0);
  6. $instance->addListener('Shopware\\Core\\Framework\\DataAbstractionLayer\\Event\\EntityDeleteEvent', [#[\Closure(name: 'Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\EntityDeleteSubscriber'] ?? self::getEntityDeleteSubscriberService($container)), 'handleEntityDeleteEvent'], 0);
  7. $instance->addListener('Shopware\\Core\\Framework\\App\\ShopId\\ShopIdDeletedEvent', [#[\Closure(name: 'Shopware\\Core\\System\\UsageData\\Subscriber\\ShopIdChangedSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\ShopIdChangedSubscriber'] ?? self::getShopIdChangedSubscriberService($container)), 'handleShopIdDeleted'], 0);
  8. $instance->addListener('Shopware\\Core\\Framework\\App\\ShopId\\ShopIdChangedEvent', [#[\Closure(name: 'Shopware\\Core\\System\\UsageData\\Subscriber\\ShopIdChangedSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\UsageData\\Subscriber\\ShopIdChangedSubscriber'] ?? self::getShopIdChangedSubscriberService($container)), 'handleShopIdChanged'], 0);
  9. $instance->addListener('Shopware\\Core\\System\\UsageData\\Consent\\ConsentStateChangedEvent', [#[\Closure(name: 'Shopware\\Core\\System\\UsageData\\Consent\\ConsentReporter')] fn () => ($container->privates['Shopware\\Core\\System\\UsageData\\Consent\\ConsentReporter'] ?? self::getConsentReporterService($container)), 'reportConsent'], 0);
  10. $instance->addListener('custom_field.written', [#[\Closure(name: 'Shopware\\Core\\System\\Snippet\\Subscriber\\CustomFieldSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\Snippet\\Subscriber\\CustomFieldSubscriber'] ?? self::getCustomFieldSubscriberService($container)), 'customFieldIsWritten'], 0);
  11. $instance->addListener('custom_field.deleted', [#[\Closure(name: 'Shopware\\Core\\System\\Snippet\\Subscriber\\CustomFieldSubscriber')] fn () => ($container->privates['Shopware\\Core\\System\\Snippet\\Subscriber\\CustomFieldSubscriber'] ?? self::getCustomFieldSubscriberService($container)), 'customFieldIsDeleted'], 0);
in /home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php :: {closure:ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEventDispatcherService():20586} (line 221)
  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->reset();
  8. }
  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 (!$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('/home/p-fdl58d/html/objekt-m-staging/vendor/autoload_runtime.php') in /home/p-fdl58d/html/objekt-m-staging/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 "/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-foundation/Response.php" at line 388.

  at /home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:116
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-foundation/Session/Session.php:59)
  at Symfony\Component\HttpFoundation\Session\Session->start()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:93)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/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), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:43)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle(object(Request), 2, false)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/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)), 'kernel.exception', object(ExceptionEvent))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:43)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpKernel.php:241)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ClassNotFoundError), object(Request), 1)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpKernel.php:134)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ClassNotFoundError), object(Request))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:77)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::{closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():71}(object(ClassNotFoundError))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/error-handler/ErrorHandler.php:538)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ClassNotFoundError))                
[1/2] ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "ManualProductSortDefinition" from namespace "Netzkollektiv\ManualProductSort\Entity".
Did you forget a "use" statement for another namespace?

  at /home/p-fdl58d/html/objekt-m-staging/var/cache/dev_h57d4f14bf8f32b9d5a3197d3710fa9e2/ContainerAuZOnAW/Shopware_Core_KernelDevDebugContainer.php:6834
  at ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getManualProductSortDefinitionService(object(Shopware_Core_KernelDevDebugContainer))
     (/home/p-fdl58d/html/objekt-m-staging/var/cache/dev_h57d4f14bf8f32b9d5a3197d3710fa9e2/ContainerAuZOnAW/Shopware_Core_KernelDevDebugContainer.php:53605)
  at ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::{closure:ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEntityDefinitionServiceService():53296}()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/System/UsageData/Services/EntityDefinitionService.php:29)
  at Shopware\Core\System\UsageData\Services\EntityDefinitionService->__construct(object(RewindableGenerator), object(UsageDataAllowListService))
     (/home/p-fdl58d/html/objekt-m-staging/var/cache/dev_h57d4f14bf8f32b9d5a3197d3710fa9e2/ContainerAuZOnAW/Shopware_Core_KernelDevDebugContainer.php:53296)
  at ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEntityDefinitionServiceService(object(Shopware_Core_KernelDevDebugContainer))
     (/home/p-fdl58d/html/objekt-m-staging/var/cache/dev_h57d4f14bf8f32b9d5a3197d3710fa9e2/ContainerAuZOnAW/Shopware_Core_KernelDevDebugContainer.php:53679)
  at ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEntityDeleteSubscriberService(object(Shopware_Core_KernelDevDebugContainer))
     (/home/p-fdl58d/html/objekt-m-staging/var/cache/dev_h57d4f14bf8f32b9d5a3197d3710fa9e2/ContainerAuZOnAW/Shopware_Core_KernelDevDebugContainer.php:20586)
  at ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::{closure:ContainerAuZOnAW\Shopware_Core_KernelDevDebugContainer::getEventDispatcherService():20586}()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:221)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('Shopware\\Core\\Framework\\DataAbstractionLayer\\Event\\EntityDeleteEvent')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:78)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners('Shopware\\Core\\Framework\\DataAbstractionLayer\\Event\\EntityDeleteEvent')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:99)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners(null)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:69)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners(null)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:64)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners(null)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:82)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:347)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:164)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners(null)
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php:74)
  at Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/Profiler/Profiler.php:93)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:43)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/HttpCache/HttpCache.php:255)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate(object(Request), object(Response))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/http-kernel/Kernel.php:147)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (/home/p-fdl58d/html/objekt-m-staging/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/home/p-fdl58d/html/objekt-m-staging/vendor/autoload_runtime.php:32)
  at require_once('/home/p-fdl58d/html/objekt-m-staging/vendor/autoload_runtime.php')
     (/home/p-fdl58d/html/objekt-m-staging/public/index.php:10)