This error occurs because a teacher's Staff record is missing a Job Assignment (STJ) record. If the teacher teaches at multiple sites, there may be a missing record for one of the school sites.
All staff records of teachers must have Job Assignment (STJ) records that identify every school they teach at. Add a Job Assignment (STJ) record the teacher. Confirm that the staff record includes the correct school site(s) for the teacher.