$db to $this->db fix at EventModel

This fix dashboard error