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

Problem with task quiz_statistics\task\recalculate: moodle_database::get_in_or_equal() does not accept empty arrays

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.1.5
    • Quiz
    • None
    • MOODLE_401_STABLE

      When the task has run, it fails with this error:

      This task has been running for more than 1 uur so stopping this execution. ... used 735067 dbqueries ... used 3600.3231110573 seconds Scheduled task failed: Vraagstatistieken opnieuw berekenen (quiz_statistics\task\recalculate),Fout in de programmeercode gevonden. Dit moet door een programmeur hersteld worden. moodle_database::get_in_or_equal() does not accept empty arrays Backtrace: * line 564 of /question/engine/datalib.php: call to moodle_database->get_in_or_equal() * line 295 of /question/classes/statistics/questions/calculator.php: call to question_engine_data_mapper->load_questions_usages_latest_steps() * line 96 of /question/classes/statistics/questions/calculator.php: call to core_question\statistics\questions\calculator->get_latest_steps() * line 660 of /mod/quiz/report/statistics/report.php: call to core_question\statistics\questions\calculator->calculate() * line 950 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->get_all_stats_and_analysis() * line 108 of /mod/quiz/report/statistics/classes/task/recalculate.php: call to quiz_statistics_report->calculate_questions_stats_for_question_bank() * line 263 of /lib/cronlib.php: call to quiz_statistics\task\recalculate->execute() * line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() * line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks() * line 178 of /admin/cli/cron.php: call to cron_run()

            Unassigned Unassigned
            alainraap Alain Raap
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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