Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84097

Quiz queue_quiz_open_notification_tasks_for_users fails due to suspended user

XMLWordPrintable

      The queue_quiz_open_notification_tasks_for_users is failing if the user is suspended. It seems like that should be more graceful in that situation.

      Full Debug:
      Execute adhoc task: mod_quiz\task\queue_quiz_open_notification_tasks_for_users
      Adhoc task id: 2632750
      Adhoc task custom data: {"id":"108420"}
      ... started 04:57:16. Current memory use 47.6 MB.
      Debugging increased temporarily due to faildelay of 7680
      ... used 43 dbqueries
      ... used 0.033308982849121 seconds
      Adhoc task failed: mod_quiz\task\queue_quiz_open_notification_tasks_for_users,Suspended account
      Backtrace:

      • line 249 of /lib/classes/task/manager.php: call to core\user::require_active_user()
      • line 39 of /mod/quiz/classes/task/queue_quiz_open_notification_tasks_for_users.php: call to core\task\manager::queue_adhoc_task()
      • line 519 of /lib/classes/cron.php: call to mod_quiz\task\queue_quiz_open_notification_tasks_for_users->execute()
      • line 302 of /lib/classes/cron.php: call to core\cron::run_inner_adhoc_task()
      • line 128 of /lib/classes/cron.php: call to core\cron::run_adhoc_tasks()
      • line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()
        Environment
      • Moodle 4.5.1
      • PHP 8.3
      • Apache

            Unassigned Unassigned
            davidpesce David Pesce
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.