Body: <p>Craft Commerce 4.0.2 trying to EDIT shipping rules and getting this kind of error :</p>
  <p><code>Cannot assign string to property craft\commerce\models\ShippingRule::$maxTotal of type float</code></p>
  <p><a href="https://i.sstatic.net/lPtRO.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lPtRO.png" alt="enter image description here" /></a></p>
  <p>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.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-08T03:33:10.177Z
Comments.Text: Yes, it's bug on commerce, but looks like they have a fix but not yet release it.
Comments.UserDisplayName: aodihis
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-08T11:44:32.987Z
Comments.Text: 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.
Comments.UserDisplayName: Sylvain Tremblay
Tags: <plugin-craftcommerce><shipping><plugin-craftcommerce4>
Title: Commerce CP Shipping Errors
ThreadText: # Commerce CP Shipping Errors
  
  (Asked by: username_0 on 2022-06-07)
  
  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](https://i.sstatic.net/lPtRO.png)](https://i.sstatic.net/lPtRO.png)
  
  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.
  
  **Tags:** plugin-craftcommerce, shipping, plugin-craftcommerce4
  
  > **Comments:**
  > **username_1**: Yes, it's bug on commerce, but looks like they have a fix but not yet release it.  
  > **username_0**: 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.  
  
  ---
  
  ## 0 answers
  
  