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
Just upgraded to Craft & Commerce 5. When editing cart or accessing Commerce > Settings > Gateways I get a TypeError relating to setOrderCondition in src/base/Gateway.php. A null is passed in but the function is expecting a string or array.
As a test I modified src/base/Gateway.php on line 286 and added |null as a valid parameter and then amended line 288 to if ($condition == null || empty($condition)) { and all good after that.