ISSUE:
In the backend, we get the following error message when you want to look at the product list also under BACKEND > CATALOG > PRODUCTS:
Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryApi\Api\SourceRepositoryInterface in /html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /html/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Invento...') #1 /html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Invento...') #2 /html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Invento...', NULL, 'sourceRepositor...', 'Bss\\ProductGrid...') #3 /html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Bss\\ProductGrid...', Array, Array) #4 /html/magento2/vendor/magento/framewor in /html/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50
Unfortunately, we come to the conclusion that we don't want to/can't use the magento_inventory extension.
SOLUTION:
Our module has not worked properly with the site disabling MSI yet.
To resolve the issue, please download the file app/code/Bss/ProductGridInlineEditor/Block/Adminhtml/InlineEditor.php attached below to override the current file on your site.
If you need any further assistance, please feel free to contact us. We'd be happy to support you!
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article