In the event that the office of mayor or [a] councilmember shall become vacant as provided in section 2.12 of this Charter, the city council or those remaining shall appoint a successor for the remainder of the officer's term or until the next general election, whichever comes first.