-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.2
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
wip-mdl-56865
-
When setting up Behat for Moodle 3.1.2 on our system we are no longer able to get the init process to complete. The error was traced down to MDL-46514.
This patch introduced in Moodle 3.1.2 surfaced PHP notices and such as Fatal errors for AJAX scripts.
But in doing so, it also surfaced those errors as fatal errors during CLI scripts (such as the Behat init script).
With some 3rd party plugins, they attempt to use undefined properties in their settings.php.
For example:
!!! Exception - Notice: Undefined index: REQUEST_URI in [dirroot]/mod/mediasite/settings.php on line 11 !!!
|
!!! Exception - Notice: Undefined property: stdClass::$sessioncookie in [dirroot]/blocks/lockdownbrowser/settings.php on line 143 !!!
|