There was nothing wrong with the aircraft. The crew had the wrong runway/approach selected and tried to override the AP manually. The subsequent go-around was incorrectly handled in that they retracted the gear before the initial stage of flap, hence the config warning.