Welcome to LITTI'S WORLD


Welcome to an exciting year with us! We are thrilled to make a very special announcement: This year, none other than the renowned coach and German football World Champion Pierre Littbarski will accompany you through our shop. But that's not all! In honor of the European Football Championship, we have prepared a series of exciting contests, healthy recipes, and fitness exercises perfectly tailored to your everyday life – whether you're sitting in the office or relaxing comfortably on the couch.

European Championship Sweepstakes!

Empty your mailbox in May and win over 1000 prizes with Fairvital! Each prize holds a special surprise, including a personally signed autograph from Pierre Littbarski.

Learn More

Intermittent Fasting Recipes by Litti

Nutrition is crucial for health and well-being. Littbarski presents delicious and nutrient-rich recipes, perfect for the European Championship and beyond, to fuel your body with energy.

Learn More

Ask the German World Champion!

Look forward to our Q&A page "Ask Litti", where you have the unique opportunity to directly ask questions to the football world champion Pierre Littbarski.

Ask Litti

Life Coach Litti

Discover your full potential and learn how to lead a fulfilling life by embarking on a transformative journey of self-discovery and personal development with Life Coach Litti.

Learn More

Coming soon:

Daily Fitness Exercises

Boost your fitness and improve your health with daily exercises that you can easily integrate into your everyday life. Stay tuned for practical tips and guidance!

Coming soon: 

European Championship Blog with Litti

Experience the European Championship up close with Litti! Dive into the captivating world of football and discover exciting stories beneath the surface of the game.

Litti's Tips for Nutrition in Combination with Exercise

As a former professional athlete, I am aware of how essential balanced nutrition is for performance. During my active years, I learned that the right nutrients make a difference. Fluid management, optimal energy balance, and preservation of the body are central components for athletic success and the prevention of sports injuries.

Of course, a balanced diet with valuable nutrients offers many benefits for everyone, whether they have an active lifestyle or not.

The Building Block of Our Muscles: Protein

If you want performance, you need to adequately supply your body with proteins. In my personal nutrition plan, high-quality protein sources such as lean meat, fish, cottage cheese, eggs, whole grain bread, and legumes have a solid place. Proteins not only support muscle building but also promote recovery and can prevent muscle mass breakdown.

My Tip: Incorporate approximately 20 - 30 g of protein into each of your meals.

I also find BCAAs particularly interesting for all athletes. BCAAs, or "Branched Chain Amino Acids," refer to the branched-chain essential amino acids L-Leucine, L-Isoleucine, and L-Valine. The body cannot produce these amino acids itself. They are required for the construction of almost all proteins.

Carbohydrates as Energy Providers

For athletes, proper energy intake is crucial. Carbohydrates play a vital role in this regard. A distinction is made between simple and complex carbohydrates. This refers to whether the sugar from them enters the bloodstream quickly or slowly after food intake.

During low-intensity training sessions, the prior intake of polysaccharides (complex carbohydrates) a few hours beforehand is sufficient. The body mainly relies on energy from fat metabolism here. Foods with polysaccharides include grains, rice, potatoes, and legumes.

For longer or more intense sports activities, the trick is to provide the body with quickly available sugars in between. Monosaccharides such as glucose and fructose enter the bloodstream within 5 minutes. This allows you to give it your all again immediately! Quick energy in between can be provided by tablets or powders containing dextrose and fruits. It's better to avoid sweets, even though they also enter the bloodstream quickly.

My Tip: Eat thoughtfully before your training session and also consume energy through sugar during it!

Alcohol: A Taboo After Training

It is widely known that alcohol should only be consumed in moderation. Even small amounts can damage cells and organs. Especially if you are effectively exercising and aiming to promote your health and vitality, you should avoid alcoholic beverages. There are also numerous good reasons why you should especially avoid alcohol after exercising.

For one, alcohol is a true calorie bomb. And not only that. It stimulates the appetite. Alcohol consumption triggers a hunger signal in the brain. Additionally, since alcohol dehydrates the body, causing a loss of salt, you may crave hearty foods. Calories that you've painstakingly burned off can be quickly regained in a short amount of time.

Fat burning is an important component of any fitness program. However, alcohol blocks this process because the body prioritizes breaking down alcohol.

My Tip: Avoid alcohol for the sake of a fit and healthy lifestyle.

Magnesium for Muscle Relaxation

Regeneration after exercise is particularly important. Muscles are strained and require a period of recovery. Unfortunately, some people experience muscle cramps occasionally after exercise. Especially for athletes, I recommend magnesium in such cases. This mineral plays a crucial role in the tension and relaxation of muscles. We consume magnesium with every movement. Additionally, increased sweating during exercise leads to magnesium loss. If there is a magnesium deficiency, cramps may occur. Foods rich in magnesium include: oats, spinach, yogurt, and cashew nuts.

My Tip: Take magnesium regularly to prevent muscle cramps and promote post-exercise recovery.

Stay Tuned


Get ready for a year full of health, fun, and football with Littbarski by your side. Don't forget to check back regularly so you don't miss any updates, tips, or chances to win.

We're here to support you, motivate you, and help you take your well-being to a new level – as we experience the highs and lows of the European Championship together.

Let's embark on a healthier, happier, and more sports-filled year together!

Stay Tuned


Get ready for a year filled with health, fun, and football with Littbarski by your side. Don't forget to check in regularly so you don't miss any updates, tips, or chances to win.

We're here to support you, motivate you, and help you elevate your well-being to a new level – as we experience the highs and lows of the European Championship together.

Let's embark on a healthier, happier, and more thrillingly sports-filled year together!

Interview with Pierre Littbarski


Litti on Football, Health, and Lifestyle


Interviewer: I'm delighted to have you as part of our Fairvital family now! Let's dive straight into some questions. How much do you focus on health in your daily life?

Pierre Littbarski: Health is the most important thing in life for me. Without health, you can't enjoy the simplest things. Both personally and through sports, this topic has always been a top priority for me.

Interviewer: As a former football player and coach, you must have placed a lot of importance on physical fitness. How has your attitude towards this evolved after your career?

Pierre Littbarski: As an athlete, physical fitness was crucial, of course. Even after my sporting career, I still keep myself physically fit, just not to the same extent as before. However, over the years, I've realized that it's not just about physical health but also about mental health. A healthy mind in a healthy body, that's the optimal combination.

Interviewer: How have you managed to maintain a healthy lifestyle even after your active football career?

Pierre Littbarski: Self-discipline plays a big role for me here. Naturally, I don't have the same training demands as during my active days, but regular exercise and a balanced diet are important to me in daily life. I want to feel comfortable in my body.

Interviewer: Speaking of a balanced diet, what do you particularly focus on here?

Pierre Littbarski: As an athlete, I always aimed to supply my body with the right nutrients. Even today, I make sure to eat balanced meals. However, I don't want to compromise on enjoyment. It's all about finding the right balance.

Interviewer: Modern football has become more intense. How important is the right nutrition for today's football players?

Pierre Littbarski: Very important. Today's players are more athletic and play more games in a shorter period of time. The right nutrition supports recovery and contributes to performance. It's an essential part of modern football.

Interviewer: You have also worked as a coach. How did you integrate health topics into your coaching?

Pierre Littbarski: Health is a holistic concept. In addition to the sporting aspects, I also talk to the players about their lifestyle. Sleep, nutrition, stress management – all of this influences performance. As a coach, I tried to create an awareness of these connections.

Interviewer: Finally, what is your personal secret to a healthy and fulfilling life?

Pierre Littbarski: There is no secret. Self-respect, mindfulness for your own body, and the ability to enjoy life are the keys. Regular exercise, healthy eating, and a positive attitude are the cornerstones of a fulfilling life.

Interviewer: Thank you very much, Pierre, for your insights and advice on health. We appreciate your time and look forward to working together!

Litti's Tip

Pierre Littbarski's Tip: "Experience the perfect blend of nutrition and taste with our premium creatine powder, scientifically formulated to enhance your athletic performance and muscle growth."

Loading…
Loading the web debug toolbar…
Attempt #
Warning: session_name(): Session name cannot be changed after headers have already been sent (500 Internal Server Error)

Symfony Exception

ArgumentCountError ErrorException

HTTP 500 Internal Server Error

Warning: session_name(): Session name cannot be changed after headers have already been sent

Exceptions 2

ErrorException

Show exception properties
ErrorException {#980
  #severity: E_WARNING
}
  1. {
  2. if ($this->isActive()) {
  3. throw new \LogicException('Cannot change the name of an active session.');
  4. }
  5. session_name($name);
  6. }
  7. }
  1. return $this->saveHandler->getName();
  2. }
  3. public function setName(string $name): void
  4. {
  5. $this->saveHandler->setName($name);
  6. }
  7. public function regenerate(bool $destroy = false, ?int $lifetime = null): bool
  8. {
  9. // Cannot regenerate the session ID for non-active sessions.
  1. return $this->storage->getName();
  2. }
  3. public function setName(string $name): void
  4. {
  5. $this->storage->setName($name);
  6. }
  7. public function getMetadataBag(): MetadataBag
  8. {
  9. ++$this->usageIndex;
  1. }
  2. $session = $master->getSession();
  3. if (!$session->isStarted()) {
  4. $session->setName('session-');
  5. $session->start();
  6. $session->set('sessionId', $session->getId());
  7. }
  8. $salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
  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 (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  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. $request = $this->requestTransformer->transform($request);
  9. }
  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 (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  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/vetbwkqc/www.vetipur.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()

ArgumentCountError

Too few arguments to function WmsAddressRestrict\Subscriber\AddressValidationSubscriber::__construct(), 1 passed in /home/vetbwkqc/www.vetipur.de/var/cache/dev_hc76068616ad1f7917afe2ced63bd894d/Container2TvDsTh/Shopware_Core_KernelDevDebugContainer.php on line 42900 and exactly 2 expected

  1. class AddressValidationSubscriber implements EventSubscriberInterface
  2. {
  3. private SystemConfigService $systemConfigService;
  4. private EntityRepository $customer;
  5. public function __construct(SystemConfigService $systemConfigService,EntityRepository $customer)
  6. {
  7. $this->systemConfigService = $systemConfigService;
  8. $this->customer = $customer;
  9. }
  1. if (isset($container->privates['WmsAddressRestrict\\Subscriber\\AddressValidationSubscriber'])) {
  2. return $container->privates['WmsAddressRestrict\\Subscriber\\AddressValidationSubscriber'];
  3. }
  4. return $container->privates['WmsAddressRestrict\\Subscriber\\AddressValidationSubscriber'] = new \WmsAddressRestrict\Subscriber\AddressValidationSubscriber($a);
  5. }
  6. /**
  7. * Gets the private 'WmsApothekeCustomer\Subscriber\RegisterApothekerCustomer' shared service.
  8. *
  1. $instance->addListener('Shopware\\Core\\Checkout\\Cart\\Event\\BeforeLineItemAddedEvent', [#[\Closure(name: 'WmsMagalog\\Subscriber\\CartSubscriber')] fn () => ($container->privates['WmsMagalog\\Subscriber\\CartSubscriber'] ?? self::getCartSubscriberService($container)), 'onLineItemAdded'], 0);
  2. $instance->addListener('Shopware\\Core\\Checkout\\Cart\\Event\\CartLoadedEvent', [#[\Closure(name: 'WmsMagalog\\Subscriber\\CartSubscriber')] fn () => ($container->privates['WmsMagalog\\Subscriber\\CartSubscriber'] ?? self::getCartSubscriberService($container)), 'onCartLoaded'], 0);
  3. $instance->addListener('Shopware\\Core\\Checkout\\Customer\\Event\\CustomerRegisterEvent', [#[\Closure(name: 'WmsMagalog\\Subscriber\\CartSubscriber')] fn () => ($container->privates['WmsMagalog\\Subscriber\\CartSubscriber'] ?? self::getCartSubscriberService($container)), 'onCustomerRegistered'], 0);
  4. $instance->addListener('Shopware\\Core\\Checkout\\Cart\\Event\\CartMergedEvent', [#[\Closure(name: 'WmsMagalog\\Subscriber\\CartSubscriber')] fn () => ($container->privates['WmsMagalog\\Subscriber\\CartSubscriber'] ?? self::getCartSubscriberService($container)), 'onCartMerged'], 0);
  5. $instance->addListener('Shopware\\Core\\Checkout\\Cart\\Event\\AfterLineItemRemovedEvent', [#[\Closure(name: 'WmsMagalog\\Subscriber\\CartSubscriber')] fn () => ($container->privates['WmsMagalog\\Subscriber\\CartSubscriber'] ?? self::getCartSubscriberService($container)), 'onItemRemoved'], 0);
  6. $instance->addListener('Shopware\\Core\\Framework\\DataAbstractionLayer\\Write\\Validation\\PreWriteValidationEvent', [#[\Closure(name: 'WmsAddressRestrict\\Subscriber\\AddressValidationSubscriber')] fn () => ($container->privates['WmsAddressRestrict\\Subscriber\\AddressValidationSubscriber'] ?? self::getAddressValidationSubscriberService($container)), 'triggerChangeSet'], 0);
  7. $instance->addListener('kernel.controller_arguments', [#[\Closure(name: 'argument_resolver.request_payload', class: 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver')] fn () => ($container->privates['argument_resolver.request_payload'] ?? self::getArgumentResolver_RequestPayloadService($container)), 'onKernelControllerArguments'], 0);
  8. $instance->addListener('kernel.response', [#[\Closure(name: 'response_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener')] fn () => ($container->privates['response_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8', false)), 'onKernelResponse'], 0);
  9. $instance->addListener('kernel.request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'setDefaultLocale'], 100);
  10. $instance->addListener('kernel.request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'onKernelRequest'], 16);
  11. $instance->addListener('kernel.finish_request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'onKernelFinishRequest'], 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 (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. public function terminate(Request $request, Response $response): void
  2. {
  3. try {
  4. $this->terminating = true;
  5. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6. } finally {
  7. $this->terminating = false;
  8. }
  9. }
  1. if (\in_array('fresh', $this->traces[$this->getTraceKey($request)] ?? [], true)) {
  2. return;
  3. }
  4. if ($this->getKernel() instanceof TerminableInterface) {
  5. $this->getKernel()->terminate($request, $response);
  6. }
  7. }
  8. /**
  9. * Forwards the Request to the backend without storing the Response in the cache.
  1. if (false === $this->booted) {
  2. return;
  3. }
  4. if ($this->getHttpKernel() instanceof TerminableInterface) {
  5. $this->getHttpKernel()->terminate($request, $response);
  6. }
  7. }
  8. public function shutdown(): void
  9. {
  1. } else {
  2. $response->send();
  3. }
  4. if ($this->kernel instanceof TerminableInterface) {
  5. $this->kernel->terminate($this->request, $response);
  6. }
  7. return 0;
  8. }
  9. }
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/vetbwkqc/www.vetipur.de/vendor/autoload_runtime.php') in /home/vetbwkqc/www.vetipur.de/public/index.php (line 11)
  1. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  2. use Symfony\Component\HttpFoundation\Response;
  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] ErrorException
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent

  at /home/vetbwkqc/www.vetipur.de/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:96
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-foundation/Session/Session.php:181)
  at Symfony\Component\HttpFoundation\Session\Session->setName()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:41)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/EventListener/ErrorListener.php:97)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpKernel.php:241)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpKernel.php:134)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/error-handler/ErrorHandler.php:538)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                
[1/2] ArgumentCountError
ArgumentCountError:
Too few arguments to function WmsAddressRestrict\Subscriber\AddressValidationSubscriber::__construct(), 1 passed in /home/vetbwkqc/www.vetipur.de/var/cache/dev_hc76068616ad1f7917afe2ced63bd894d/Container2TvDsTh/Shopware_Core_KernelDevDebugContainer.php on line 42900 and exactly 2 expected

  at /home/vetbwkqc/www.vetipur.de/custom/plugins/WmsAddressRestrict/src/Subscriber/AddressValidationSubscriber.php:27
  at WmsAddressRestrict\Subscriber\AddressValidationSubscriber->__construct()
     (/home/vetbwkqc/www.vetipur.de/var/cache/dev_hc76068616ad1f7917afe2ced63bd894d/Container2TvDsTh/Shopware_Core_KernelDevDebugContainer.php:42900)
  at Container2TvDsTh\Shopware_Core_KernelDevDebugContainer::getAddressValidationSubscriberService()
     (/home/vetbwkqc/www.vetipur.de/var/cache/dev_hc76068616ad1f7917afe2ced63bd894d/Container2TvDsTh/Shopware_Core_KernelDevDebugContainer.php:14873)
  at Container2TvDsTh\Shopware_Core_KernelDevDebugContainer::Container2TvDsTh\{closure}()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:221)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:78)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:99)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:119)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:64)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:81)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:343)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:160)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php:74)
  at Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/Profiler/Profiler.php:93)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:129)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php:247)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/http-kernel/Kernel.php:145)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/home/vetbwkqc/www.vetipur.de/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/home/vetbwkqc/www.vetipur.de/vendor/autoload_runtime.php:29)
  at require_once('/home/vetbwkqc/www.vetipur.de/vendor/autoload_runtime.php')
     (/home/vetbwkqc/www.vetipur.de/public/index.php:11)