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

moodlelib.php notices during install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8, 1.9
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Getting countless "Notice: Trying to get property of non-object in /Users/watermark/Sites/moodle18/lib/moodlelib.php on line 4067" when installing 1.8.

      This is the line in moodlelib.php that is causing the problem:

      if ($COURSE->id != SITEID and !empty($COURSE->lang)) { // Course language can override all other settings for this page

      Looks like $COURSE is not set properly.

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              bushido Mark Nielsen
              Tester:
              Nobody
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07