Fatigue and phase transition in an oscillating plate