I have Moodle Version 4.4.2+ (Build: 20240823) on Ubuntu server (Apache 2 + PHP Version 8.3.10 + Mysql database).
Enrolement of any user takes 2 minutes. How to solve this problem?
What enrollment plugin are you using?
Have you tried an enrollment with full debugging on to see if there are any messages? Does it happen on every course or just a single course? When did it start? What happened before it started? I suspect you have some plugin that is incompatible or causing issues...what plugins do you have installed?
I tried debugging mode. There was a plugin called Exabis portfolio detected by debugging mode. I removed it & deleted its folder from the blocks directory completely. The problem is still persistent. It occurs in all courses.
And after uninstalling that plugin, does debugging show anything else?
Did you clear caches after removing the plugin? Did you actually uninstall it from the web interface (so that it would remove all database entries?)
Yes, I cleared the cache & updated the database.
Thank you very much for your effort. I did find the problem. It is the SMTP. I disabled it in the "config.php" file & everything is Ok now.
Glad to hear it!