caused by private $this->app not stored in session when Db\Depricated was instaciated also move $GLOBALS[egw]->ADOdb to a static class var to fix session restore order caused $GLOBALS[egw] not yet restored giving a warning