Update all deprecated calls to $this->db->query(); --> $this->db->execute();
Xaseco migration plugin works + it's now optimized: many thanks to weerwolf for his improvements and a database dump for xaseco2 :)