During checkout, if I select an available UPS shipping method (e.g. Next Day Air Saver) and continue to the next step in the checkout process, the following error occurs:
TypeError
Return value of craft\commerce\models\ShippingRule::getDescription() must be of the type string, null returned
This appears to trace back to verbb\postie\models\ShippingMethod, potentially in the getShippingRules() function.
I attempted to do something like $shippingRule->description = 'Test'; but encountered other errors far beyond my level of competence. :)
Steps to reproduce
Enable UPS provider (not sure if this issue is specific to UPS)
Description
During checkout, if I select an available UPS shipping method (e.g. Next Day Air Saver) and continue to the next step in the checkout process, the following error occurs:
This appears to trace back to
verbb\postie\models\ShippingMethod
, potentially in thegetShippingRules()
function.I attempted to do something like
$shippingRule->description = 'Test';
but encountered other errors far beyond my level of competence. :)Steps to reproduce
Additional info