Skip to content

foreach() argument must be of type array|object, null given in ShippingAssignmentProcessor.php

I have upgraded Magento from 2.4.3 to 2.4.6-p4, and now I’m getting this exception. Anybody else familiar with this? [2024-05-09T13:13:54.211477+00:00] main.CRITICAL: Exception: Warning: foreach() argument must be of type array|object, null given in /data/web/magento2/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingAssignmentProcessor.php on line 89 in /data/web/magento2/vendor/magento/framework/App/ErrorHandler.php:62 Stack… Read More »foreach() argument must be of type array|object, null given in ShippingAssignmentProcessor.php