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

Error received when I click the "save the state of the flags" button

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.2
    • 2.3.1
    • Quiz
    • None
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide
      1. Turn of JavaScript in your browser.
      2. Attempt a quiz.
      3. Tick the checkboxes by some flags.
      4. When you get to the review page, click the Save flags button.
      5. Verify that there are no errors, and that the flag state is staved.
      Show
      Turn of JavaScript in your browser. Attempt a quiz. Tick the checkboxes by some flags. When you get to the review page, click the Save flags button. Verify that there are no errors, and that the flag state is staved.

      As admin I created a quiz containing a single numeric question. After answering the question I have 2 buttons. "save the state of the flags" and "Finish review". Save the state sends me to the below URL and the page displays the following error.

      /mod/quiz/review.php?attempt=37

      Notice: Undefined variable: DB in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/attemptlib.php on line 1338 Fatal error: Call to a member function start_delegated_transaction() on a non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/attemptlib.php on line 1338

            timhunt Tim Hunt
            andyjdavis Andrew Davis
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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