I can't delete a course: "Unable to delete class/course. Please remove existing batches and students"
Why this message appears and how to remove the batches and students linked to the course.
This message means the course still has linked data:
- To delete a course: first delete every batch created inside it.
- To delete a batch: first delete every student enrolled in it.
Screenshot — to be added
public/images/articles/cannot-delete-course-1.pngScreenshot — to be added
public/images/articles/cannot-delete-course-2.pngWhen deleting students
If a student has linked data — such as elective subjects or finance records — a message lists these dependencies.
Screenshot — to be added
public/images/articles/cannot-delete-course-3.pngYou can then force the deletion by clicking the click here link in the message.
Warning: Forced deletion is permanent and removes all the student’s data. See How to archive or delete a student account before continuing.
Was this article helpful?
Thanks for your feedback!