Iterator requires access to additional properties
Since the iterator may throw an error, it needs to have access to both $this->link and $db->dieOnErrors
Also $zp_real was incorrectly used where $this->dieOnErrors was required