General Terms and Conditions with Customer Information

Table of contents

  1. Scope of application
  2. Conclusion of contract
  3. Right of withdrawal
  4. Prices and terms of payment
  5. Delivery and shipping terms
  6. Retention of title
  7. Liability for defects (warranty)
  8. Cancellation of promotional vouchers
  9. Code of conduct
  10. Alternative dispute resolution

1) Scope

1.1 These General Terms and Conditions (hereinafter "GTC") of Fairvital BV (hereinafter "Seller") apply to all contracts for the delivery of goods that a consumer or entrepreneur (hereinafter "Customer") concludes with the Seller with regard to the goods presented by the Seller in its online shop. The inclusion of the customer's own terms and conditions is hereby objected to, unless otherwise agreed.

1.2 A consumer within the meaning of these GTC is any natural person who concludes a legal transaction for purposes that can predominantly be attributed neither to his commercial nor to his independent professional activity.

1.3 An entrepreneur within the meaning of these GTC is a natural or legal person or a legally capable partnership who, when concluding a legal transaction, acts in the exercise of his commercial or independent professional activity.

2) Conclusion of contract

2.1 The product descriptions contained in the Seller's online shop do not constitute binding offers on the part of the Seller, but serve for the submission of a binding offer by the Customer.

2.2 The customer can submit the offer via the online order form integrated in the seller's online shop. After placing the selected goods in the virtual shopping basket and going through the electronic ordering process, the customer submits a legally binding offer to enter into a contract with respect to the goods contained in the shopping basket by clicking the button that concludes the ordering process. Furthermore, the customer can also submit the offer to the seller by telephone, fax, e-mail, post or online contact form.

2.3 The seller may accept the customer's offer within five days,

    • by sending the customer a written order confirmation or an order confirmation in text form (fax or e-mail), in which case the receipt of the order confirmation by the customer is decisive, or
    • by delivering the ordered goods to the customer, in which case the receipt of the goods by the customer is decisive, or
    • by requesting payment from the customer after the customer has placed the order.

If several of the aforementioned alternatives exist, the contract shall be concluded at the time when one of the aforementioned alternatives occurs first. The period for acceptance of the offer begins on the day after the customer sends the offer and ends with the expiry of the fifth day following the sending of the offer. If the Seller does not accept the Customer's offer within the aforementioned period, this shall be deemed to be a rejection of the offer with the consequence that the Customer shall no longer be bound by its declaration of intent.

2.4 If a payment method offered by PayPal is selected, the payment will be processed via the payment service provider PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg (hereinafter: „PayPal“), subject to the PayPal Terms of Use, available at https://www.paypal. com/en/webapps/mpp/ua/useragreement-full or - if the customer does not have a PayPal account - under the terms and conditions for payments without a PayPal account, available at https://www.paypal.com/de/webapps/mpp/ua/privacywax-full. If the customer pays by means of a payment method offered by PayPal that can be selected in the online ordering process, the seller already declares acceptance of the customer's offer at the time the customer clicks the button that completes the ordering process.

2.5 When submitting an offer via the Seller's online order form, the text of the contract shall be stored by the Seller after the conclusion of the contract and communicated to the customer in text form (e.g. e-mail, fax or letter) after the order has been sent. The Seller shall not make the text of the contract accessible beyond this. If the customer has set up a user account in the seller's online shop before sending his order, the order data will be archived on the seller's website and can be accessed free of charge by the customer via his password-protected user account by providing the corresponding login data.

2.6 Prior to the binding submission of the order üvia the online order form of the seller, the customer can identify possible input errors by carefully reading the information displayed on the screen. An effective technical means for better recognition of input errors can be the browser's enlargement function, with the help of which the display on the screen is enlarged. The customer can correct his entries during the electronic ordering process using the usual keyboard and mouse functions until he clicks the button which completes the ordering process.

2.7 For the conclusion of the contract, the German and English languages are available.

2.8 Order processing and contacting usually take place by e-mail and automated order processing. The customer must ensure that the e-mail address provided by him for order processing is correct so that e-mails sent by the seller can be received at this address. In particular, when using SPAM filters, the customer must ensure that all e-mails sent by the seller or by third parties commissioned by the seller to process the order can be delivered.

3) Right of withdrawal

3.1 Consumers are generally entitled to a right of withdrawal.

3.2 Further information on the right of withdrawal can be found in the seller's instructions on withdrawal.

3.3 The right of withdrawal does not apply to consumers who, at the time of conclusion of the contract, do not belong to a Member State of the European Union and whose sole place of residence and delivery address at the time of conclusion of the contract are outside the European Union.

3.3 The right of withdrawal does not apply to consumers who, at the time of conclusion of the contract, do not belong to a Member State of the European Union and whose sole place of residence and delivery address at the time of conclusion of the contract are outside the European Union.

4) Prices and terms of payment

4.1 Unless otherwise stated in the Seller's product description, the prices quoted are total prices which include the statutory value added tax. Any additional delivery and shipping costs will be indicated separately in the respective product description.

4.2 In the case of deliveries to countries outside the European Union, further costs may be incurred in individual cases for which the Seller is not responsible and which are to be borne by the Customer. These include, for example, costs for the transmission of money by credit institutions (e.g. transfer fees, exchange rate fees) or import duties or taxes (e.g. customs duties). Such costs may also be incurred in relation to money transmission if the delivery is not made to a country outside the European Union but the customer makes the payment from a country outside the European Union.

4.3 The payment method(s) will be notified to the customer in the seller's online shop.

4.4 If payment in advance by bank transfer has been agreed, payment shall be due immediately after conclusion of the contract, unless the parties have agreed on a later due date.

4.5 If a payment method offered via the payment service „Stripe“ is selected, the payment will be processed via the payment service provider Stripe Payments Europe Ltd, 1 Grand Canal Street Lower, Grand Canal Dock, Dublin, Ireland (hereinafter "Stripe"). The individual payment methods offered via Stripe are communicated to the customer in the seller's online shop. Stripe may use other payment services for the processing of payments, for which special payment conditions may apply, to which the customer may be informed separately. Further information on Stripe is available on the Internet at https://stripe.com/de.

4.6 If the payment method purchase on account is selected, the purchase price is due after the goods have been delivered and invoiced. In this case, the purchase price is payable within 14 (fourteen) days of receipt of the invoice without deduction, unless otherwise agreed. The Seller reserves the right to offer the payment method purchase on account only up to a certain order volume and to reject this payment method if the order volume exceeds the stated volume. In this case, the seller will inform the customer of a corresponding payment restriction in his payment information in the online shop.

4.7 If the SEPA Direct Debit payment method is selected, the invoice amount shall be due for payment after a SEPA Direct Debit mandate has been issued, but not before the expiry of the period for advance information. The direct debit shall be collected when the ordered goods leave the Seller's warehouse, but not before the expiry of the period for the prior information. Pre-notification is any communication (e.g. invoice, policy, contract) from the seller to the customer announcing a debit by SEPA direct debit. If the direct debit is not honoured due to a lack of sufficient funds in the account or due to the provision of incorrect bank details, or if the customer objects to the direct debit even though he is not entitled to do so, the customer shall bear the charges incurred by the respective credit institution as a result of the reversal if he is responsible for this.

4.8 If the payment method credit card via Stripe is selected, the invoice amount is due immediately upon conclusion of the contract. The payment is processed via the payment service provider Stripe Payments Europe Ltd, 1 Grand Canal Street Lower, Grand Canal Dock, Dublin, Ireland (hereinafter: Stripe). Stripe reserves the right to carry out a credit check and to refuse this payment method in the event of negative creditworthiness.

5) Delivery and shipping terms

5.1 If the Seller offers to ship the goods, delivery shall be made within the delivery area specified by the Seller to the delivery address specified by the Customer, unless otherwise agreed. The delivery address specified in the seller's order processing is decisive for the processing of the transaction.

5.2 If the delivery of the goods fails for reasons for which the customer is responsible, the customer shall bear the reasonable costs incurred by the seller as a result. This shall not apply with regard to the costs for the return if the customer effectively exercises his right of withdrawal. In the event that the customer effectively exercises the right of withdrawal, the provision made in the seller's instructions on withdrawal shall apply to the costs of returning the goods.

5.3 If the customer is acting as an entrepreneur, the risk of accidental loss and accidental deterioration of the sold goods shall pass to the customer as soon as the seller has delivered the goods to the carrier, the freight forwarder or the person or institution otherwise designated to carry out the shipment. If the customer is acting as a consumer, the risk of accidental loss and accidental deterioration of the goods sold shall in principle not pass until the goods are handed over to the customer or a person authorised to receive them. In deviation from this, the risk of accidental loss and accidental deterioration of the sold goods shall pass to the customer, even in the case of consumers, as soon as the seller has handed over the goods to the forwarding agent, the freight carrier or the person or entity otherwise designated to carry out the shipment; The seller shall be liable for the loss of the goods as soon as the customer has delivered the goods to the carrier, freight forwarder or other person or institution designated to effect the shipment, if the customer has commissioned the carrier, freight forwarder or other person or institution designated to effect the shipment and the seller has not previously named this person or institution to the customer.

5.4 The Seller reserves the right to withdraw from the contract in the event of incorrect or improper self-delivery. This shall only apply in the event that the Seller is not responsible for the non-delivery and the Seller has concluded a specific cover transaction with the supplier with due diligence. The Seller shall make all reasonable efforts to procure the goods. In the event of non-availability or only partial availability of the goods, the customer will be informed immediately and the consideration will be refunded immediately.

5.5 Self-collection is not possible for logistical reasons.

6) Retention of title

If the seller makes advance performance, he shall retain title to the goods delivered until the purchase price owed has been paid in full.

7) Liability for defects (warranty)

7.1 Unless otherwise provided for in the following provisions, the provisions of the statutory liability for defects shall apply. In deviation from this, the following shall apply to contracts for the delivery of goods:

7.2 If the customer is acting as an entrepreneur,

  • the seller has the choice of the type of subsequent performance;
  • in the case of new goods, the limitation period for defects shall be one year from delivery of the goods;
  • in the case of used goods, the rights and claims due to defects shall be excluded;
  • the limitation period shall not begin again if a replacement delivery is made within the scope of the liability for defects.

7.3 The above-mentioned limitations of liability and shortening of the period shall not apply

  • for claims for damages and reimbursement of expenses of the customer
  • in the event that the seller has fraudulently concealed the defect
  • for goods which have been used for a building in accordance with their normal use and have caused the defectiveness of the building.
  • for any existing obligation of the seller to provide updates for digital products, in the case of contracts for the supply of goods with digital elements.

7.4 In addition, for entrepreneurs, the statutory limitation periods for any statutory right of recourse shall remain unaffected.

7.5 If the customer is acting as a consumer, he is requested to complain about delivered goods with obvious transport damage to the deliverer and to inform the seller of this. If the customer fails to do so, this shall have no effect whatsoever on his statutory or contractual claims for defects.

8) Redemption of promotional vouchers

8.1 Vouchers which are issued free of charge by the Seller within the scope of promotions with a certain period of validity and which cannot be purchased by the Customer (hereinafter "Promotional Vouchers") may only be redeemed in the Seller's online shop and only during the specified period.

8.2 Promotional vouchers can only be redeemed by consumers.

8.3 Individual products may be excluded from the voucher promotion, provided that a corresponding restriction results from the content of the promotional voucher.

8.4 Promotion vouchers can only be redeemed before the order process is completed. Subsequent offsetting is not possible.

8.5 Only one promotional voucher can be redeemed per order.

8.6 The value of the goods must be at least equal to the amount of the promotional voucher. Any remaining credit will not be refunded by the seller.

8.7 If the value of the promotional voucher is not sufficient to cover the order, one of the other payment methods offered by the seller may be chosen to settle the difference.

8.8 The credit balance of a promotional voucher is neither paid out in cash nor does it earn interest.

8.9 The promotional voucher will not be refunded if the customer returns the goods paid for in full or in part with the promotional voucher within the scope of his statutory right of withdrawal.

8.9 The credit balance of a promotional voucher will not be paid in cash.

8.10 The promotional voucher is transferable. The Seller may make payment with discharging effect to the respective holder who redeems the promotional voucher in the Seller's online shop. This shall not apply if the Seller has knowledge or grossly negligent ignorance of the ineligibility, business incapacity or lack of representative authority of the respective holder.

9) Code of Conduct

10) Alternative dispute resolution

10.1 The EU Commission provides a platform for online dispute resolution on the internet at the following link: https://ec.europa.eu/consumers/odr

This platform serves as a contact point for the out-of-court settlement of disputes arising from online purchase or service contracts involving a consumer.

10.2 The Seller is neither obliged nor willing to participate in a dispute resolution procedure before a consumer arbitration board.


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)