This warning appears when an employee has a Termination Date and Cessation Type set in their employee profile, but their status has not yet been updated to Employee Terminated.

This typically means the employee has not had a final payslip processed yet.
To resolve this, navigate to the employee's payslip for their final pay period and run Final.