-
Bug
-
Resolution: Fixed
-
Minor
-
4.4.1
I'm getting the following warning when I'm on an error page:
Warning: Undefined property: stdClass::$debugdisplay in /Users/jun/Work/moodles/stable_main/moodle/lib/setuplib.php on line 74
|
To reproduce:
- Edit config.php and change the value for any of the database config values (e.g. $CFG->dbhost) that will cause the Moodle instance's connection to the database to fail.
- Expected: You should only see the "Database connection failed" error message.
- Actual: There's also a warning about the undefined $CFG->debugdisplay.