We recently upgraded to Moodle Version 3.1.6 from 2.1.x, and we now have a Coding Error: "Invalid property requested, or the property does not has(sic) a default value." I cannot access any course, or any part of Site Administration. I can access the server and the database on the back end.
I get the following lines after I turn on debugging in config.php:
- Notice: Undefined property: stdClass::$defaultpreference_mailformat in /home/moodlesc/public_html/lib/classes/user.php on line 355
- Notice: Undefined property: stdClass::$defaultpreference_maildigest in /home/moodlesc/public_html/lib/classes/user.php on line 357
- Notice: Undefined property: stdClass::$defaultpreference_maildisplay in /home/moodlesc/public_html/lib/classes/user.php on line 359
- Notice: Undefined property: stdClass::$defaultpreference_autosubscribe in /home/moodlesc/public_html/lib/classes/user.php on line 361
- Notice: Undefined property: stdClass::$defaultpreference_trackforums in /home/moodlesc/public_html/lib/classes/user.php on line 363
I followed the suggestions here, and added the five lines to mdl_config, but I am still getting the error.
Any suggestions?