![Announcement icon Announcement icon](https://www.drupal.org/files/styles/grid-2-2x-square/public/announcements/drupal-evergreen-logo-280X280px%20%281%29_0.jpg?itok=PHpn6rCb)
Reproduce the issue:
- Put some variation in cart.
- Remove all remaining stock for the variation
- Reload cart page
Boom. It explodes: "TypeError: Argument 3 passed to t() must be of the type array, string given, called in .../commerce_stock_enforcement.module"
Comment | File | Size | Author |
---|---|---|---|
#3 | commerce_stock-enforcement-error-3014406-3.patch | 1.31 KB | thejacer87 |
Comments
Comment #2
olafkarsten CreditAttribution: olafkarsten as a volunteer commentedComment #3
thejacer87 CreditAttribution: thejacer87 at Acro Commerce commentedComment #4
p4trizio CreditAttribution: p4trizio at Elicos commented@thejacer87 your patch solves the problem, thanks!
Comment #5
olafkarsten CreditAttribution: olafkarsten as a volunteer commentedready to commit
thanks
Comment #7
olafkarsten CreditAttribution: olafkarsten as a volunteer commentedcommited thanx