-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryReservationsApi\Model\ReservationBuilderInterface #2715
Comments
I just added to app/etc/di.xml |
Looks like one of Inventory modules is not enabled. You should enable modules Magento_InventoryReservation, Magento_InventoryReservationApi |
Hi @OleksiiStepanov , thanks a lot , it helped definitely . |
I think it should be possible to disable all Magento_Inventory* modules without having to include this lines or at least should be documented here: https://devdocs.magento.com/extensions/inventory-management/#disable-inventory-management |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
php bin/magento setup:upgrade
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryReservationsApi\Model\AppendReservationsInterface in /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:58
Stack trace:
#0 /private/var/www/tourvest/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Invento...')
#1 /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Invento...')
#2 /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Invento...', NULL, 'appendReservati...', 'Magento\Invento...')
#3 /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime( in /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 58
Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryReservationsApi\Model\AppendReservationsInterface in /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 58
Error: Cannot instantiate interface Magento\InventoryReservationsApi\Model\AppendReservationsInterface in /private/var/www/tourvest/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 58
The text was updated successfully, but these errors were encountered: