You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception - update_internal_user_password(): Argument #2 ($password) must be of type string, null given, called in [dirroot]/lib/moodlelib.php on line 4470
Resolution
Adjust the following in line 4470 of /lib/moodlelib.php
// If the existing hash is using an out-of-date algorithm (or the legacy md5 algorithm), then we should update to
// the current hash algorithm while we have access to the user's password.
update_internal_user_password($user, $password);
to
// If the existing hash is using an out-of-date algorithm (or the legacy md5 algorithm), then we should update to
// the current hash algorithm while we have access to the user's password.
if ($password != null) {
update_internal_user_password($user, $password);
}
The text was updated successfully, but these errors were encountered:
vcciaccounts
changed the title
Moodle 4.3.3 Issue after login
Moodle 4.3.3 Issue after login. Exception - update_internal_user_password()
Feb 16, 2024
Error message
Exception - update_internal_user_password(): Argument #2 ($password) must be of type string, null given, called in [dirroot]/lib/moodlelib.php on line 4470
Resolution
Adjust the following in line 4470 of /lib/moodlelib.php
to
The text was updated successfully, but these errors were encountered: