- ๐ซ๐ทFrance berramou
I have the same error but it comes from cart, when i try to access to carts i get the error, or when i place cart block in the header i get that error in all pages.
Any idea what would be the issue ? - ๐ฉ๐ชGermany gooddev
dev.tim โ made their first commit to this issueโs fork.
- ๐ฉ๐ชGermany gooddev
according to Line 669 of modules/contrib/commerce/modules/order/src/Entity/Order.php there is probably missing a Store to that order. Maybe you have delete the store in the past, but order or cart was created when store was still exisiting?
Line 669 of modules/contrib/commerce/modules/order/src/Entity/Order.php:
$timezone = $this->getStore()->getTimezone();
- ๐ฌ๐งUnited Kingdom BWilliams1992
Just had a similar issue myself, I think it turned out that a store was deleted with a half completed order in the database that still referenced the deleted store, deleted all order entities and it seems to have solved the issue.