Error message after clicking enroll

After clicking to enroll on a course an error message shows up (image attached)
Not sure what to do
Appreciate help
thanks