Chavez had complications in surgery, official says