Education Scotland says the school has faced "significant staffing challenges".