If Marking periods are set up, check and make sure that the teacher is actually assigned to the class if it's before the year has begun as that may also cause this issue.