We've got LDAP set up for authentication for a script that runs on a hourly basis to pull in updated info for users. However when the cronjob triggers it, we get these messages in the error log:
Updating user unset1202725 id 4875PHP Notice: Undefined property: stdClass::$profile_field_collegecode in /var/www/auth/ldap/auth.php on line 1044
PHP Notice: Undefined property: stdClass::$profile_field_degree in /var/www/auth/ldap/auth.php on line 1044
PHP Notice: Undefined property: stdClass::$profile_field_faculty in /var/www/auth/ldap/auth.php on line 1044
PHP Notice: Undefined property: stdClass::$profile_field_majorcode in /var/www/auth/ldap/auth.php on line 1044
I found this topic regarding it: https://moodle.org/mod/forum/discuss.php?d=253169 however it was only mentioned that using upper/mixed case caused issues, this is not the case with our field names as you can see.
Any idea how to fix? I've put in an *incredibly* hacky fix in the meantime, but it doesn't resolve the issue that it always detects it as needing an update.