Hello, I updated from PHP5 to PHP7 on my system. Everything went smoothly in the various tests except the Enrollments Plugin functionality. Basically when run via CRON, I get an error:
Reading various posts, I am told that the database driver mysql is no longer supported and to use mysqli. Before upgrading PHP and Moodle from 3.0. to 3.1, I updated this with no issue. I have verified that the config file also is set to this:
$CFG->dbtype = 'mysqli';
Oddly, the authentication plugin works without any issue both in the system and running in CRON or command line the same way.
Also, running a test is also tagged as OK:
Test enrol settings - External database
(mysqli): SELECT * FROM vue_moodle_student_teacher
username, password, section_id, role, first_name, last_name, email, city, country
(mysqli): SELECT * FROM vue_moodle_sections_formatted
fullname, shortname, idnumber
Server Cache has been deleted, the system has gone through multiple reboots, but clearly it is not using the mysqli database driver when this task is run via CRON which I use to create the new Courses, but users are being assigned roles when they login. I have verified the value in the database table also.
Does anyone else have any ideas where this could retain the previous/incorrect setting from?