Problem/Motivation
After update to PHP 8.1.20 i get this error
Deprecated function: Return type of GuzzleHttp\Command\Command::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 9 of /var/www/html/vendor/guzzlehttp/command/src/Command.php).
include('/var/www/html/vendor/guzzlehttp/command/src/Command.php') (Line: 576)
Composer\Autoload\{closure}('/var/www/html/vendor/composer/../guzzlehttp/command/src/Command.php') (Line: 427)
Composer\Autoload\ClassLoader->loadClass('GuzzleHttp\Command\Command') (Line: 72)
GuzzleHttp\Command\ServiceClient->getCommand('getCondizioniVendita', Array) (Line: 81)
GuzzleHttp\Command\Guzzle\GuzzleClient->getCommand('getCondizioniVendita', Array) (Line: 355)
Drupal\http_client_manager\HttpClient->call('getCondizioniVendita', Array) (Line: 107)
Drupal\http_client_manager\Plugin\HttpServiceApiWrapper\HttpServiceApiWrapperBase->call('getCondizioniVendita', Array) (Line: 445)
Drupal\gey_ws_client_manager\Plugin\HttpServiceApiWrapper\HttpServiceApiWrapperSAP->getCondizioniVendita('C001003', 'GEYFLOOR1', 1, '1.00') (Line: 80)
Drupal\gey_commerce_price_api\Service\PriceService->get('GEYFLOOR1', '1.00', Object) (Line: 42)
Drupal\gey_commerce_price_api\Resolver\PricePerUserResolver->getUserPrice(Object, Object, '1.00') (Line: 30)
Drupal\gey_commerce_price_api\Resolver\PricePerUserResolver->resolve(Object, '1.00', Object) (Line: 49)
Drupal\commerce_price\Resolver\ChainPriceResolver->resolve(Object, '1.00', Object) (Line: 177)
Drupal\commerce_order\OrderRefresh->refresh(Object) (Line: 113)
Drupal\commerce_order\OrderStorage->doOrderPreSave(Object) (Line: 78)
Drupal\commerce_order\OrderStorage->invokeHook('presave', Object) (Line: 563)
Drupal\Core\Entity\EntityStorageBase->doPreSave(Object) (Line: 753)
Drupal\Core\Entity\ContentEntityStorageBase->doPreSave(Object) (Line: 517)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 804)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object) (Line: 159)
Drupal\commerce_order\OrderStorage->save(Object) (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 146)
Drupal\commerce_order\OrderStorage->postLoad(Array) (Line: 353)
Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array) (Line: 232)
Drupal\commerce_cart\CartProvider->loadCartData(Object) (Line: 149)
Drupal\commerce_cart\CartProvider->getCartId('default', Object, NULL) (Line: 136)
Drupal\commerce_cart\CartProvider->getCart('default', Object) (Line: 127)
Drupal\commerce_google_tag_manager\EventSubscriber\CommerceEventsSubscriber->trackCartView(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 145)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)