Details
-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.7, 3.5.3, 3.6.2, 3.7
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-64424-master-expiredfrontpage -
Description
We have experienced this on one of our Moodle community sites running version 3.5.3. Processing the personal data requests died with thrown exception "Call to a member function is_fully_expired() on null"
PHP Notice: Undefined index: /50/5310 in /var/www/html/admin/tool/dataprivacy/classes/expired_contexts_manager.php on line 925
|
PHP Notice: Trying to get property of non-object in /var/www/html/admin/tool/dataprivacy/classes/expired_contexts_manager.php on line 925
|
Default exception handler: Exception - Call to a member function is_fully_expired() on null Debug:
|
Error code: generalexceptionmessage
|
* line 926 of /admin/tool/dataprivacy/classes/expired_contexts_manager.php: Error thrown
|
* line 902 of /admin/tool/dataprivacy/classes/expired_contexts_manager.php: call to tool_dataprivacy\expired_contexts_manager::is_course_context_expired_or_unprotected_for_user()
|
* line 1091 of /admin/tool/dataprivacy/classes/api.php: call to tool_dataprivacy\expired_contexts_manager::is_context_expired_or_unprotected_for_user()
|
* line 82 of /admin/tool/dataprivacy/classes/task/initiate_data_request_task.php: call to tool_dataprivacy\api::add_request_contexts_with_status()
|
* line 185 of /lib/cronlib.php: call to tool_dataprivacy\task\initiate_data_request_task->execute()
|
* line 74 of /lib/cronlib.php: call to cron_run_inner_adhoc_task()
|
* line 61 of /admin/cli/cron.php: call to cron_run()
|
|
!!! Exception - Call to a member function is_fully_expired() on null !!!
|
The reported context path /50/5310 is the context of the site's front page.
This was consulted with dobedobedoh who concluded:
We possibly have missed a case where there's activities on the course frontpage in our testing.
and suggested a way to fix this.
Attachments
Issue Links
- Discovered while testing
-
MDLSITE-5558 Upgrade moodle.org to 3.6
-
- Resolved
-