Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
ErrorException {#285 #severity: E_WARNING }
{ if ($this->isActive()) { throw new \LogicException('Cannot change the name of an active session.'); } session_name($name); }} return $this->saveHandler->getName(); } public function setName(string $name): void { $this->saveHandler->setName($name); } public function regenerate(bool $destroy = false, ?int $lifetime = null): bool { // Cannot regenerate the session ID for non-active sessions. return $this->storage->getName(); } public function setName(string $name): void { $this->storage->setName($name); } public function getMetadataBag(): MetadataBag { ++$this->usageIndex; } $session = $master->getSession(); if (!$session->isStarted()) { $session->setName('session-'); $session->start(); $session->set('sessionId', $session->getId()); } $salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID); $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); // @deprecated tag:v6.7.0 - remove DISABLE_EXTENSIONS from if condition if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false) || !HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } */ private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response { // request $event = new RequestEvent($this, $request, $type); $this->dispatcher->dispatch($event, KernelEvents::REQUEST); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); } $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } } public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response { if ($request->attributes->get('exception') !== null) { return parent::handle($request, $type, $catch); } if (!$request->attributes->has('sw-skip-transformer')) { try { $request = $this->requestTransformer->transform($request); } $request = $this->duplicateRequest($throwable, $event->getRequest()); try { $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false); } catch (\Exception $e) { $f = FlattenException::createFromThrowable($e); $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())); $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); // @deprecated tag:v6.7.0 - remove DISABLE_EXTENSIONS from if condition if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false) || !HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } * Handles a throwable by trying to convert it to a Response. */ private function handleThrowable(\Throwable $e, Request $request, int $type): Response { $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating); $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION); // a listener might have replaced the exception $e = $event->getThrowable(); if (!$event->hasResponse()) { if ($pop = $request !== $this->requestStack->getMainRequest()) { $this->requestStack->push($request); } try { $response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST); } finally { if ($pop) { $this->requestStack->pop(); } } if ($hasRun) { throw $e; } $hasRun = true; $kernel->terminateWithException($e, $request); }; } } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) { $output = $event->getOutput(); if ($output instanceof ConsoleOutputInterface) { $this->exceptionHandler = null; } try { if (null !== $exceptionHandler) { $exceptionHandler($exception); return; } $handlerException ??= $exception; } catch (\Throwable $handlerException) {class ProductShippingCostSubscriber implements EventSubscriberInterface
{
private CartCalculator $cartCalculator;
private EntityRepositoryInterface $shippingMethodRepository;
public function __construct(
CartCalculator $cartCalculator,
EntityRepositoryInterface $shippingMethodRepository
) {
$this->cartCalculator = $cartCalculator;
$this->shippingMethodRepository = $shippingMethodRepository;
$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); $instance->addListener('Shopware\\Core\\Service\\Event\\ServiceOutdatedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\ServiceOutdatedSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\ServiceOutdatedSubscriber'] ?? self::getServiceOutdatedSubscriberService($container)), 'updateService'], 0); $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); $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); $instance->addListener('Shopware\\Core\\System\\SystemConfig\\Event\\SystemConfigChangedEvent', [#[\Closure(name: 'Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber')] fn () => ($container->privates['Shopware\\Core\\Service\\Subscriber\\LicenseSyncSubscriber'] ?? self::getLicenseSyncSubscriberService($container)), 'syncLicense'], 0); $instance->addListener('Shopware\\Storefront\\Page\\Product\\ProductPageLoadedEvent', [#[\Closure(name: 'zenit\\KleberKompassUG\\Subscriber\\ProductShippingCostSubscriber')] fn () => ($container->privates['zenit\\KleberKompassUG\\Subscriber\\ProductShippingCostSubscriber'] ??= new \zenit\KleberKompassUG\Subscriber\ProductShippingCostSubscriber('Shopware\\Core\\Checkout\\Cart\\CartCalculator', 'shipping_method.repository')), 'onProductPageLoaded'], 0); $instance->addListener('Shopware\\Storefront\\Page\\Product\\ProductPageCriteriaEvent', [#[\Closure(name: 'KkProductBundles\\Storefront\\Page\\Product\\Subscriber\\ProductPageCriteriaSubscriber')] fn () => ($container->privates['KkProductBundles\\Storefront\\Page\\Product\\Subscriber\\ProductPageCriteriaSubscriber'] ??= new \KkProductBundles\Storefront\Page\Product\Subscriber\ProductPageCriteriaSubscriber()), 'onProductCriteriaLoaded'], 0); $instance->addListener('Shopware\\Core\\Framework\\DataAbstractionLayer\\Event\\EntityDeleteEvent', [#[\Closure(name: 'Frosh\\MailArchive\\Subscriber\\MailArchiveDeleteSubscriber')] fn () => ($container->privates['Frosh\\MailArchive\\Subscriber\\MailArchiveDeleteSubscriber'] ?? self::getMailArchiveDeleteSubscriberService($container)), 'beforeDelete'], 0); $instance->addListener('Shopware\\Core\\Content\\MailTemplate\\Service\\Event\\MailBeforeSentEvent', [#[\Closure(name: 'Frosh\\MailArchive\\Subscriber\\MailBeforeSentSubscriber')] fn () => ($container->privates['Frosh\\MailArchive\\Subscriber\\MailBeforeSentSubscriber'] ??= new \Frosh\MailArchive\Subscriber\MailBeforeSentSubscriber()), 'onMailBeforeSent'], 0); $instance->addListener('Symfony\\Component\\Mailer\\Event\\FailedMessageEvent', [#[\Closure(name: 'Frosh\\MailArchive\\Subscriber\\MailTransportSubscriber')] fn () => ($container->privates['Frosh\\MailArchive\\Subscriber\\MailTransportSubscriber'] ?? self::getMailTransportSubscriberService($container)), 'onMessageFailed'], 0); $instance->addListener('Symfony\\Component\\Mailer\\Event\\SentMessageEvent', [#[\Closure(name: 'Frosh\\MailArchive\\Subscriber\\MailTransportSubscriber')] fn () => ($container->privates['Frosh\\MailArchive\\Subscriber\\MailTransportSubscriber'] ?? self::getMailTransportSubscriberService($container)), 'onMessageSent'], 0); $this->sorted[$eventName] = []; foreach ($this->listeners[$eventName] as &$listeners) { foreach ($listeners as &$listener) { if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) { $listener[0] = $listener[0](); $listener[1] ??= '__invoke'; } $this->sorted[$eventName][] = $listener; } } return $this->sorted[$eventName]; } foreach ($this->listeners as $eventName => $eventListeners) { if (!isset($this->sorted[$eventName])) { $this->sortListeners($eventName); } } return array_filter($this->sorted); } /** * @return array<array-key, array<array-key, callable(object): void>|callable(object): void> */ public function getListeners(?string $eventName = null): array { return $this->dispatcher->getListeners($eventName); } public function getListenerPriority(string $eventName, callable $listener): ?int { return $this->dispatcher->getListenerPriority($eventName, $listener); /** * @return array<array-key, array<array-key, callable(object): void>|callable(object): void> */ public function getListeners(?string $eventName = null): array { return $this->dispatcher->getListeners($eventName); } public function getListenerPriority(string $eventName, callable $listener): ?int { /** @var callable(object): void $listener - Specify generic callback interface callers can provide more specific implementations */ /** * @return array<array-key, array<array-key, callable(object): void>|callable(object): void> */ public function getListeners(?string $eventName = null): array { return $this->dispatcher->getListeners($eventName); } public function getListenerPriority(string $eventName, callable $listener): ?int { /** @var callable(object): void $listener - Specify generic callback interface callers can provide more specific implementations */ $this->dispatcher->removeSubscriber($subscriber); } public function getListeners(?string $eventName = null): array { return $this->dispatcher->getListeners($eventName); } public function getListenerPriority(string $eventName, callable|array $listener): ?int { // we might have wrapped listeners for the event (if called while dispatching) private function getListenersWithoutPriority(): array { $result = []; foreach ($this->getListeners() as $eventName => $listeners) { foreach ($listeners as $listener) { $result[$eventName][] = [$listener, null]; } } } public function getNotCalledListeners(?Request $request = null): array { try { $allListeners = $this->dispatcher instanceof EventDispatcher ? $this->getListenersWithPriority() : $this->getListenersWithoutPriority(); } catch (\Exception $e) { $this->logger?->info('An exception was thrown while getting the uncalled listeners.', ['exception' => $e]); // unable to retrieve the uncalled listeners return []; if (!$dispatcher instanceof TraceableEventDispatcher) { continue; } $this->setCalledListeners($dispatcher->getCalledListeners($this->currentRequest), $name); $this->setNotCalledListeners($dispatcher->getNotCalledListeners($this->currentRequest), $name); $this->setOrphanedEvents($dispatcher->getOrphanedEvents($this->currentRequest), $name); } $this->data = $this->cloneVar($this->data); } public function saveProfile(Profile $profile): bool { // late collect foreach ($profile->getCollectors() as $collector) { if ($collector instanceof LateDataCollectorInterface) { $collector->lateCollect(); } } if (!($ret = $this->storage->write($profile)) && null !== $this->logger) { $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]); } } // save profiles foreach ($this->profiles as $request) { $this->profiler->saveProfile($this->profiles[$request]); } $this->profiles = new \SplObjectStorage(); $this->parents = new \SplObjectStorage(); } $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); // @deprecated tag:v6.7.0 - remove DISABLE_EXTENSIONS from if condition if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false) || !HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } public function terminate(Request $request, Response $response): void { try { $this->terminating = true; $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE); } finally { $this->terminating = false; } } if (\in_array('fresh', $this->traces[$this->getTraceKey($request)] ?? [], true)) { return; } if ($this->getKernel() instanceof TerminableInterface) { $this->getKernel()->terminate($request, $response); } } /** * Forwards the Request to the backend without storing the Response in the cache. if (false === $this->booted) { return; } if ($this->getHttpKernel() instanceof TerminableInterface) { $this->getHttpKernel()->terminate($request, $response); } } public function shutdown(): void { } else { $response->send(); } if ($this->kernel instanceof TerminableInterface) { $this->kernel->terminate($this->request, $response); } return 0; }}$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());use Shopware\Core\Installer\InstallerKernel;use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;$_SERVER['SCRIPT_FILENAME'] = __FILE__;require_once __DIR__ . '/../vendor/autoload_runtime.php';if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;}|
[2/2]
ErrorException
|
|---|
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent
at /www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:96
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName('session-')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:184)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName('session-')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-foundation/Session/Session.php:181)
at Symfony\Component\HttpFoundation\Session\Session->setName('session-')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:89)
at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/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)), 'kernel.request', object(RequestEvent))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:40)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:29)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle(object(Request), 2, false)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/EventListener/ErrorListener.php:97)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/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/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:40)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:29)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpKernel.php:241)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(TypeError), object(Request), 1)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpKernel.php:134)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(TypeError), object(Request))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::{closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():78}(object(TypeError))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/error-handler/ErrorHandler.php:538)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(TypeError))
|
|
[1/2]
TypeError
|
|---|
TypeError:
zenit\KleberKompassUG\Subscriber\ProductShippingCostSubscriber::__construct(): Argument #1 ($cartCalculator) must be of type Shopware\Core\Checkout\Cart\CartCalculator, string given, called in /www/htdocs/w01fbc98/dev.kleberkompass.de/var/cache/dev_h0ed204d184d55a06af0dabe988af236f/ContainerQYMB8xS/Shopware_Core_KernelDevDebugContainer.php on line 13407
at /www/htdocs/w01fbc98/dev.kleberkompass.de/custom/plugins/zenitKleberKompassUG/src/Subscriber/ProductShippingCostSubscriber.php:23
at zenit\KleberKompassUG\Subscriber\ProductShippingCostSubscriber->__construct('Shopware\\Core\\Checkout\\Cart\\CartCalculator', 'shipping_method.repository')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/var/cache/dev_h0ed204d184d55a06af0dabe988af236f/ContainerQYMB8xS/Shopware_Core_KernelDevDebugContainer.php:13407)
at ContainerQYMB8xS\Shopware_Core_KernelDevDebugContainer::{closure:ContainerQYMB8xS\Shopware_Core_KernelDevDebugContainer::getEventDispatcherService():13407}()
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:221)
at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('Shopware\\Storefront\\Page\\Product\\ProductPageLoadedEvent')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:78)
at Symfony\Component\EventDispatcher\EventDispatcher->getListeners('Shopware\\Storefront\\Page\\Product\\ProductPageLoadedEvent')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:89)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners(null)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:71)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners(null)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:64)
at Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners(null)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:81)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners()
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:343)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority()
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:160)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners(null)
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php:74)
at Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect()
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/Profiler/Profiler.php:93)
at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:40)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:29)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpKernel.php:114)
at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php:249)
at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate(object(Request), object(Response))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/http-kernel/Kernel.php:145)
at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/autoload_runtime.php:29)
at require_once('/www/htdocs/w01fbc98/dev.kleberkompass.de/vendor/autoload_runtime.php')
(/www/htdocs/w01fbc98/dev.kleberkompass.de/public/index.php:10)
|