-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
2.8.5
-
None
-
28.0.0.4
-
MOODLE_28_STABLE
When navigating to the settings page "admin/settings.php?section=local_o365" the following error is displayed:
Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
Debug info: Argument 1 passed to local_o365\rest\o365api::__construct() must be an instance of local_o365\oauth2\token, null given, called in [dirroot]/local/o365/classes/adminsetting/permissions.php on line 85 and defined
Error code: codingerror
Stack trace:
line 393 of /lib/setuplib.php: coding_exception thrown
line 42 of /local/o365/classes/rest/o365api.php: call to default_error_handler()
line 85 of /local/o365/classes/adminsetting/permissions.php: call to local_o365\rest\o365api->__construct()
line 1497 of /lib/adminlib.php: call to local_o365\adminsetting\permissions->output_html()
line 124 of /admin/settings.php: call to admin_settingpage->output_html()