A vacancy shall exist if the mayor or a councilman resigns, dies, moves his residence from the city, has been continuously disabled for a period of six months so as to prevent him from discharging the duties of his office, or is convicted of a felony in office, a felony in violation of this act or a violation of the election laws of the state. The council shall appoint a qualified person to fill such vacancy until the next election. In the case of a vacancy in the office of mayor, a special election shall be called and handled in the manner of general elections as hereinbefore provided within 45 days after the vacancy occurs.