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

Moodle cannot find a record in mdl_course_modules after upgrade to 2.6.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 2.6.1
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      I am currently using 2.4.4+ version, and attempted to upgrade to 2.6.1+.
      After upgrade, an error message "Cannot not find a record.." is displayed in the front page of Moodle site.

      Later, I found that the problem is because Moodle cannot find a row in mdl_course_modules where the course ID ='1' and modules is "forum". This is related to "Site news" section in the middle of the front page.

      In 2.4.4+, there is no such row, and I did not encountered such error in 2.4.4+. Is this a change in 2.6.1+ and is a bug in the upgrade process?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ryancwy Ryan Chan
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: