Skip to content

inventory

Auto Added by WPeMatico

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

Display Out of Stock Products crash

I have Issue Display Out of Stock Products when enabled. Some link category menu are crashed. Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/851015.cloudwaysapps.com/ftfwgauhdu/public_html/vendor/magento/zendframework1/library/Zend/Db/Statement.php on line 222 I have tried to disable… Read More »Display Out of Stock Products crash

Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock

I am working on a Magento 2.4.3 store and am cloning a product via the below methodology: $product_clone = $this->object_manager->create(Product::class); $product_clone->load($source_product_id); $product = $this->object_manager->create(Product::class); $product->setData($product_clone->getData()); However, after modifying and saving the cloned product, the inventory for the source product goes… Read More »Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock