I have just completed an upgrade from Moodle 2.7 -> 3.2 -> 3.7.2
Everything works fine except the Add user option.This is the message i get:
Coding error detected, it must be fixed by a programmer: Invalid property requested, or the property does not has a default value.
And in the logs:
Default exception handler: Coding error detected, it must be fixed by a programmer: Invalid property requested, or the property does not has a default value. Debug: \nError code: codingerror\n* line 927 of /lib/classes/user.php: coding_exception thrown\n* line 300 of /user/editlib.php: call to core_user::get_property_default()\n* line 150 of /user/editadvanced_form.php: call to useredit_shared_definition()\n* line 206 of /lib/formslib.php: call to user_editadvanced_form->definition()\n* line 155 of /user/editadvanced.php: call to moodleform->__construct()\n, referer: https://mysite/moodle/
I found this topic
With the same error and people managed to solve it by adding the missing fileds manually.Is this the best aproach to solving this?