When I complete an order and go to the success page, I get the following error:
(Exception(code: 0): Deprecated Functionality: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/vendor/shipperhq/module-shipper/src/Helper/Data.php on line 344
It appears that when a fallback is used the $shippingRate->getCarrierType(); in \ShipperHQ\Shipper\Observer\AbstractRecordOrder::getDefaultCarrierShipMethod returns null. And passing null to array_key_exists has been deprecated.
When I complete an order and go to the success page, I get the following error:
(Exception(code: 0): Deprecated Functionality: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/vendor/shipperhq/module-shipper/src/Helper/Data.php on line 344It appears that when a fallback is used the
$shippingRate->getCarrierType();in\ShipperHQ\Shipper\Observer\AbstractRecordOrder::getDefaultCarrierShipMethodreturnsnull. And passingnulltoarray_key_existshas been deprecated.