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

Recalculate question statistics: coding error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.1.4
    • Quiz
    • MOODLE_401_STABLE

      Steps to reproduce:

      1. create as teacher quiz only with questions type “Description” (picture 1)
      2. As learner enter and finish quiz )picture 2)
      3. As teacher click on quiz statistics, site will display  "coding error detected, it must be fixed by a programer: moodle_database::get_or_equal() doesn not accept empty arrays" (picture 3)
      4.  Check as admin Moodla cron job “Recalculate question statistic” . It has has status “Fail”  (picture 4).

       

      Info about our system:
      Moodle  version 4.1.4
      mariadb  10.11.4+
      php  8

      This problem appear after upgrading Moodle from 3.11 to 4.1.4+

        1. Picture1.png
          Picture1.png
          39 kB
        2. Picture2.png
          Picture2.png
          27 kB
        3. Picture3.png
          Picture3.png
          37 kB
        4. Picture4.png
          Picture4.png
          20 kB
        5. Picture5.png
          Picture5.png
          95 kB

            timhunt Tim Hunt
            mzvtracker Metka
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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