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

error 'fetch()' whenever creating a workshop activity

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Workshop
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      attempting to create a plain workshop with default settings gets me the following :


      Found more than one record in fetch() !

      More information about this error
      Stack trace:

      • line 359 of /lib/setuplib.php: moodle_exception thrown
      • line 142 of /lib/grade/grade_object.php: call to print_error()
      • line 316 of /lib/grade/grade_item.php: call to grade_object::fetch_helper()
      • line 2595 of /course/lib.php: call to grade_item::fetch()
      • line 442 of /course/modedit.php: call to set_coursemodule_visible()

      apparently something about it trying to be set as visible?

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              nebgor Aparup Banerjee
              Nobody Nobody
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10