We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb128dc + 9cde041 commit 7ead55bCopy full SHA for 7ead55b
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+### Fixed
6
+- Fixed a Mutex exception that could occur in certain scenarios when retrieving a cart.
7
8
## 2.0.11 - 2025-09-02
9
10
### Added
src/elements/Ticket.php
@@ -436,7 +436,7 @@ public function populateLineItem(LineItem $lineItem): void
436
{
437
$errors = [];
438
439
- $cart = Commerce::getInstance()->getCarts()->getCart();
+ $cart = $lineItem->getOrder();
440
441
// Get the total number of tickets for the same event and ticket type. We can't just rely on quantity
442
// of this line item as there could be tickets with unique options set, which are separate line items.
0 commit comments