All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
In order for a marriage to be valid there must be a Wali (Guardian) for the woman: father, brother, paternal uncle or any paternal relative. If there isn`t any, then the judge can act as the woman`s guardian and conclude the marriage contract. And Allah The Almighty Knows Best.