AmpersandHQ / magento2-disable-stock-reservation

This module disables the inventory reservation logic introduced as part of MSI in Magento 2.3.3
GNU Lesser General Public License v3.0
211 stars 60 forks source link

Error on PlaceOrder GraphQL #137

Open khorengchun opened 1 month ago

khorengchun commented 1 month ago

i get following error on PlaceOrder GraphQL : [2024-06-01T10:10:49.249484+00:00] main.ERROR: Cannot instantiate interface Ampersand\DisableStockReservation\Api\SourcesRepositoryInterface

GraphQL (2:3) 1: mutation placeOrder($input: PlaceOrderInput) { 2: placeOrder(input: $input) { ^ 3: order { {"exception":"[object] (GraphQL\Error\Error(code: 0): Cannot instantiate interface Ampersand\DisableStockReservation\Api\SourcesRepositoryInterface at /var/www/html/vendor/webonyx/graphql-php/src/Error/Error.php:155) [previous exception] [object] (Error(code: 0): Cannot instantiate interface Ampersand\DisableStockReservation\Api\SourcesRepositoryInterface at /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121)"} []

because this is using GraphQL so only can getting error like above without full stack trace.

this only happen is some of configurable and bundle product, Magento is in version 2.4.6 p4. Module in version 1.3.2 is correctly installed and activated