Skip to content

Undefined array key “inventory_source”

I get the following error when running bin/magento setup:upgrade
This is after I uninstalled MSI inventory management system
Warning: Undefined array key “inventory_source” in /vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on line 153
Setup:upgrade stalls with this error and magento goes off line
Appreciate help