Error: Cannot instantiate interface Magento\InventorySalesApi\Model\StockByWebsiteIdResolverInterface in …/AbstractFactory.php:121
In Magento 2 Auto Invoice & Shipment extension, this issue occurs when you try to place an order with Auto Shipment Rule. The reason is that Plumrocket extensions depend on MSI extensions added during the Inventory Management installation process. Therefore, when you disable the Plumrocket extension, the dependency between them is lost.
By default, after the installation of the Auto Invoice & Shipment extension, MSI support is enabled. Learn more about MSI in the official Magento documentation.
If MSI is disabled in your Magento 2 store, you also need to disable the additional Plumrocket_AutoShipmentInventory module. Take one of the following steps:
1) After installing the modules, execute the following three commands in the terminal:
php bin/magento module:disable Plumrocket_AutoInvoiceShipment php bin/magento module:disable Plumrocket_AutoShipmentInventory php bin/magento module:enable Plumrocket_AutoInvoiceShipment
2) Otherwise, you can disable the AutoShipmentInventory module forcibly using the -f (–force) option:
php bin/magento module:disable Plumrocket_AutoShipmentInventory -f