How to correct the enrollment date conflict error

This error is shown when enrolling a user in back-to-back instructor led classes.

The below error displays when trying to enroll a user into back-to-back classes, where one class time ends and another one begins, for example, 1pm-2pm and 2pm-3pm. 

This can be managed when setting up the course instance / class.

In the course instance, on the right side, there is a checkbox called

By checking the box, it will allow the system to bypass if a student is enrolled in another class (or the same class) at the same time. It will ignore if the user is being enrolled into multiple classes that overlap in time.