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

Upgraded from 2.6.3 to 2.6.10 can't add any activities or resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.6.10
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      Whenever I try to add an activity to a section I get this error:

      can not find data record in database table course_modules

      Debug info: SELECT id,course FROM

      {course_modules}

      WHERE id = ?
      [array (
      0 => 3338,
      )]
      Error code: invalidrecord
      Stack trace:
      line 1403 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      line 1379 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
      line 7069 of /lib/accesslib.php: call to moodle_database->get_record()
      line 112 of /course/modlib.php: call to context_module::instance()
      line 270 of /course/modedit.php: call to add_moduleinfo()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              creator1326 Eric Browning
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: