Can't Enrol Users?

Can't Enrol Users?

by QuyPhuc Phuc -
Number of replies: 4
Hello everyone,

I'm newbie moodle dev.

When I click the "Enrol users", I got this error. I don't understand where this error comes from. 
I tried installing the stable version 4.3.1 but still get the same error

Can anyone tell me how to solve this problem?

Thank you!!


Version: 4.4dev (Build: 20231207)

Attachment moodle.png
Average of ratings: -
In reply to QuyPhuc Phuc

Re: Can't Enrol Users?

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
What browser / version are you using (that may not be the problem, but it's worth eliminating it as a possibility)?
Average of ratings: Useful (1)
In reply to QuyPhuc Phuc

Re: Can't Enrol Users?

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
I've come across this before too. I believe it was a temporary issue / blip with the core JS code in the M4.4dev version. Try purging the JavaScript caches to ensure that the old code is gone - i.e. that you'd somehow downgraded the same Moodle installation but the cache in the Moodle data folder hasn't been refreshed / browser still thinks it has a valid cached version.
Average of ratings: Useful (1)
In reply to Gareth J Barnard

Re: Can't Enrol Users?

by QuyPhuc Phuc -
I don't know why, but it seems the error has been fixed! Thank you