Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen
Powered by Werbeagentur Watt'n Print | T. 04952 - 897 25 84

Produktinformationen "Tasse - Weltbeste Tante weiß"

Die Tasse "Weltbeste Tante" ist ein schönes Geschenk für deine Tante oder Patentante.

Ob du den Kaffeebecher als Geschenkidee zum Geburtstag nutzt oder ihr die Tasse zu einem anderen Anlass schenkst,
du machst ihr bestimmt eine große Freude damit.

"Eine coole Tante vereint die Rollen der Mutter, der besten Freundin und der Schwester in einer Person."

Eigenschaften:
- weiß, glänzende Keramiktasse mit C-förmigem Henkel
- Hauptfarbe weiß; Henkel und Innenseite in folgenden Farben: komplett weiß, schwarz, rosa, lila
- 80 mm Durchmesser, 95 mm Höhe, ca. 330 ml Fassungsvermögen / Füllmenge 11 oz / 340g
- Kaffeebecher inkl. Geschenkkarton
- beidseitiger Druck (rundum bedruckt), geeignet für Linkshänder und Rechtshänder
- Mikrowellengeeignet und Spülmaschinenfest (bis zu 3000 Spülgänge)
- MADE IN GERMANY - Mit Liebe in Deutschland gestaltet und in Handarbeit bedruckt

**Aufgrund von Monitoreinstellungen sind geringe Farbabweichungen vom dargestellten Artikelbild möglich!**

Failed to start the session because headers have already been sent by "/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-foundation/Response.php" at line 382. (500 Internal Server Error)

Symfony Exception

UndefinedMethodError RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/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) {
in /var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (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()

Symfony\Component\ErrorHandler\Error\ UndefinedMethodError

Attempted to call an undefined method named "set" of class "Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\ApiAware".

  1. * @param iterable<TElement> $elements
  2. */
  3. public function __construct(iterable $elements = [])
  4. {
  5. foreach ($elements as $key => $element) {
  6. $this->set($key, $element);
  7. }
  8. }
  9. /**
  10. * @param TElement $element
  1. return OrderDeliveryDefinition::class;
  2. }
  3. protected function defineFields(): FieldCollection
  4. {
  5. return new FieldCollection([
  6. (new IdField('id', 'id'))->addFlags(new ApiAware(), new PrimaryKey(), new Required()),
  7. (new VersionField())->addFlags(new ApiAware()),
  8. (new FkField('order_delivery_id', 'orderDeliveryId', OrderDeliveryDefinition::class))->addFlags(new ApiAware(), new Required()),
  9. (new ReferenceVersionField(OrderDeliveryDefinition::class))->addFlags(new ApiAware(), new Required()),
  1. {
  2. if ($this->fields !== null) {
  3. return $this->fields;
  4. }
  5. $fields = $this->defineFields();
  6. foreach ($this->defaultFields() as $field) {
  7. $fields->add($field);
  8. }
  1. return $protections;
  2. }
  3. final public function getField(string $propertyName): ?Field
  4. {
  5. return $this->getFields()->get($propertyName);
  6. }
  7. final public function getFieldVisibility(): FieldVisibility
  8. {
  9. if ($this->fieldVisibility) {
  1. return $this->getField('autoIncrement') instanceof AutoIncrementField;
  2. }
  3. final public function hasCreatedAndUpdatedAtFields(): bool
  4. {
  5. return $this->getField('createdAt') instanceof CreatedAtField && $this->getField('updatedAt') instanceof UpdatedAtField;
  6. }
  7. final public function getPrimaryKeys(): CompiledFieldCollection
  8. {
  9. if ($this->primaryKeys !== null) {
  1. return $associations;
  2. }
  3. public function addEntityDefinition(EntityDefinition $entityDefinition): void
  4. {
  5. if (!$entityDefinition->hasCreatedAndUpdatedAtFields()) {
  6. return;
  7. }
  8. if (!$this->usageDataAllowListService->isEntityAllowed($entityDefinition->getEntityName())) {
  9. return;
  1. public function __construct(
  2. iterable $entityDefinitions,
  3. private readonly UsageDataAllowListService $usageDataAllowListService,
  4. ) {
  5. foreach ($entityDefinitions as $entityDefinition) {
  6. $this->addEntityDefinition($entityDefinition);
  7. }
  8. }
  9. public function getAllowedEntityDefinition(string $entityName): ?EntityDefinition
  10. {
  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);
  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 (!$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('/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/autoload_runtime.php') in /var/www/vhosts/wattnkram.de/sw6.wattnkram.de/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 "/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-foundation/Response.php" at line 382.

  at /var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:116
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-foundation/Session/Session.php:59)
  at Symfony\Component\HttpFoundation\Session\Session->start()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:89)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpKernel.php:241)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpKernel.php:134)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/error-handler/ErrorHandler.php:538)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                
[1/2] UndefinedMethodError
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "set" of class "Shopware\Core\Framework\DataAbstractionLayer\Field\Flag\ApiAware".

  at /var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Struct/Collection.php:27
  at Shopware\Core\Framework\Struct\Collection->__construct()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Checkout/Order/Aggregate/OrderDeliveryPosition/OrderDeliveryPositionDefinition.php:56)
  at Shopware\Core\Checkout\Order\Aggregate\OrderDeliveryPosition\OrderDeliveryPositionDefinition->defineFields()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/DataAbstractionLayer/EntityDefinition.php:132)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition->getFields()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/DataAbstractionLayer/EntityDefinition.php:218)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition->getField()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/DataAbstractionLayer/EntityDefinition.php:303)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition->hasCreatedAndUpdatedAtFields()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/System/UsageData/Services/EntityDefinitionService.php:77)
  at Shopware\Core\System\UsageData\Services\EntityDefinitionService->addEntityDefinition()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/System/UsageData/Services/EntityDefinitionService.php:30)
  at Shopware\Core\System\UsageData\Services\EntityDefinitionService->__construct()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/var/cache/dev_hdd29d438573228a326753a09b6622bcf/ContainerUtn7Sbh/Shopware_Core_KernelDevDebugContainer.php:45312)
  at ContainerUtn7Sbh\Shopware_Core_KernelDevDebugContainer::getEntityDefinitionServiceService()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/var/cache/dev_hdd29d438573228a326753a09b6622bcf/ContainerUtn7Sbh/Shopware_Core_KernelDevDebugContainer.php:45626)
  at ContainerUtn7Sbh\Shopware_Core_KernelDevDebugContainer::getEntityDeleteSubscriberService()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/var/cache/dev_hdd29d438573228a326753a09b6622bcf/ContainerUtn7Sbh/Shopware_Core_KernelDevDebugContainer.php:14661)
  at ContainerUtn7Sbh\Shopware_Core_KernelDevDebugContainer::ContainerUtn7Sbh\{closure}()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:221)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:78)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:96)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:69)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:64)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:82)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:347)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:164)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php:74)
  at Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/Profiler/Profiler.php:93)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php:255)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/http-kernel/Kernel.php:147)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/autoload_runtime.php:29)
  at require_once('/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/vendor/autoload_runtime.php')
     (/var/www/vhosts/wattnkram.de/sw6.wattnkram.de/public/index.php:10)