Craft Commerce 4.0.2 trying to EDIT shipping rules and getting this kind of error :

Cannot assign string to property craft\commerce\models\ShippingRule::$maxTotal of type float

enter image description here

Anyone getting this kind of error ? Since we're just before going live, I will remove all rules and re-enter them, but that's really unfortunate.

  • Yes, it's bug on commerce, but looks like they have a fix but not yet release it.
    – aodihis
    Jun 8, 2022 at 3:33
  • Thank you for the answer. We'll be waiting on this fix ! In the meantime, I managed to enter data and updating directly in the database. Jun 8, 2022 at 11:44


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.