Magento – Magento 2.3.3 GraphQl Error after upgrade while Compilation

graphqlmagento2magento2.3.3setup-di-compile

After upgrade from magento 2.3.2 to 2.3.3 I get this error while Compilation:

Fatal error: Declaration of Magento\QuoteGraphQl\Model\Cart\SetShippingAddressOnCart::execute(Magento\Framework\GraphQl\Query\Resolver\ContextInterface $context, Magento\Quote\Api\Data\CartInterface $cart, array $shippingAddresses): void must be compatible with Magento\QuoteGraphQl\Model\Cart\SetShippingAddressesOnCartInterface::execute(Magento\GraphQl\Model\Query\ContextInterface $context, Magento\Quote\Api\Data\CartInterface $cart, array $shippingAddressesInput): void in /home/ttu52076/public_html/vendor/magento/module-quote-graph-ql/Model/Cart/SetShippingAddressOnCart.php on line 20

Any help?

Thanks

Best Answer

Backup and delete the file /vendor/magento/module-quote-graph-ql/Model/Cart/SetShippingAddressOnCart.php

Related Topic