- Issue created by @Grevil
- Merge request !473Issue #3535746: Error: Call to a member function isZero() on null → (Closed) created by Grevil
- 🇩🇪Germany Grevil
Also, I am quite unsure, how the balance can be NULL at this stage, eventually you prefer to keep the code as is, since it is an unexpected behavior and throwing an error here might be easier to track the issue down.
- 🇩🇪Germany Grevil
Talked with @jsacksick. Committing this would cause people to be able to place empty orders. Because at this stage, the balance should NOT be NULL and throwing an error would be more sane. I'll see if I can figure out, how this happened in our environment.
- 🇩🇪Germany Grevil
Seems like this happens, when we are on the checkout/review page, remove the order items from the cart in an extra tab and then proceed on checkout.