If a vacancy occurs in the office of recorder, treasurer, or recorder-treasurer in any city of the second class, at the first regular meeting after the occurrence of the vacancy, the city council shall elect by a majority vote of all the council members a person to serve for the unexpired term.