You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Add one or more eligible products to cart
Select an available UPS shipping method
Proceed to next step in checkout
Additional info
Plugin version: 2.0.1
Craft version: 3.1.20.1
Commerce version: 2.1.2
PHP version: 7.2.9
Database driver & version: MySQL 5.6.10
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: