Closed chadcrowell closed 4 years ago
I've fixed this in 1.1.7, but its also likely that there's a larger issue. The purchasable for the line item is reporting back as null - possibly the purchasable (whatever that might've been) no longer exists in Commerce, and had been deleted?
It'll not throw an error now in any case.
Description
Im using this method in a Sprout Reports report that is twig template based. I recently ran Craft updates + plugin updates which included
Craft 3.1.31 > 3.3.3 Commerce 2.1.7 > 2.1.13 Events 1.1.1 > 1.1.6 Sprout Reports did not have an update
The report was working fine before this update. Since the update, this code:
generates this error:
https://d.pr/i/RwpeJD
So, the report won't work at this time.