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

Uploading a course for sharing on Moodle.net gives error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.7
    • 3.7
    • Hub

      When testing MDLQA-12986 I got an error message which I am pasting below:

      Can not find data record in database table course.
      More information about this error
      Debug info: SELECT id(category FROM

      {course}

      WHERE id IS NULL [array (
      )]
      Error code: invalidrecord
      Stack trace:
      • line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_selectO
      • line 6818 of/lib/accesslib.php: call to moodle_database->get_recordO
      • line 49 of /course/publish/backup.php: call to context_course::instanceQ

            mudrd8mz David Mudrák (@mudrd8mz)
            marycooch Mary Cooch
            Amaia Anabitarte Amaia Anabitarte
            Adrian Greeve Adrian Greeve
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 11 minutes
                1h 11m

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