Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.9.0-b2
-
Component/s: Staff Interface
-
Labels:None
Description
It's possible an error may be encountered when a bad query is written for a custom report. However, the error may not appear in the UI because a white-page could be generated instead due to a subsequent error trying to create an IteratorIterator for a null PDO statement.
Uncaught TypeError, code 0 in /public_html/components/reports/custom_report/custom_report.php on line 118 Message: Argument 1 passed to IteratorIterator::__construct() must implement interface Traversable, null given