Closed kretschmer-dmf closed 1 year ago
Hello @kretschmer-dmf,
Thank you for reaching out.
Our team will check this issue and we will get back with more information.
Best regards.
Hello @kretschmer-dmf
We added the recommended changes and this will be available in the next release.
Thank you very much.
Best regards.
Hello @kretschmer-dmf ,
Please note that the new plugin version 2.0.13 is released on the Marketplace and GitHub. Best regards.
Used software versions:
Magento 2.4.5 enterprise Sendcloud 2.0.11
We experienced the following issue in our staging environment during the last checkout step.
TypeError: SendCloud\SendCloud\Plugin\Cart\CartRepository::afterGet(): Argument #1 ($subject) must be of type Magento\Quote\Model\QuoteRepository, Magento\AsyncOrder\Model\CartRepository\Interceptor given, called in /var/www/html/vendor/magento/framework/Interception/Interceptor.php on line 146 and defined in /var/www/html/vendor/sendcloud/sendcloud/Plugin/Cart/CartRepository.php:49
Stack trace:
We found a similar exception in #136.
Possible solution:
We fixed the issue by replacing the explicit QuoteRepository implementation with the generic CartRepositoryInterface in a patch file, which solved the issue for us.