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

undefined index errors in restore of database module

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      When restoring a backup course that includes a database module I see the following error.
      Notice: Undefined index: RATINGS in C:\projects\VLE\Mobile Moodle\environments\xampplite-win32-1.6.6.exe\development\offlinemoodle-0.4\htdocs\moodle\mod\data\restorelib.php on line 380

      Notice: Undefined index: COMMENTS in C:\projects\VLE\Mobile Moodle\environments\xampplite-win32-1.6.6.exe\development\offlinemoodle-0.4\htdocs\moodle\mod\data\restorelib.php on line 406

      I have the developer debug options enabled. I don't believe this shows up otherwise.

      Should a simple fix in each case. Just needs a check to see if the parameter exists before using it's children

            stronk7 Eloy Lafuente (stronk7)
            colchambers Colin Chambers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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