Moodle
  1. Moodle
  2. MDL-32472

Undefined property stdClass::$instances

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.17
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Creating a course backup with no users throws an undefined property error.

      1) Go to "Course Backup"
      2) Select "None" for "User Data" (optional)
      3) Select "None" for Users (mandatory)
      4) Select "No" for user files (optional)

      Notice: Undefined property: stdClass::$instances in /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html on line 102 Call Stack: 0.0012 789432 1.

      {main}() /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:0 0.1880 22156192 2. include_once('/media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html') /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:133 Warning: Invalid argument supplied for foreach() in /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html on line 102 Call Stack: 0.0012 789432 1. {main}

      () /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:0 0.1880 22156192 2. include_once('/media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html') /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:133 Notice: Undefined property: stdClass::$instances in /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html on line 102 Call Stack: 0.0012 789432 1.

      {main}() /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:0 0.1880 22156192 2. include_once('/media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html') /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:133 Warning: Invalid argument supplied for foreach() in /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html on line 102 Call Stack: 0.0012 789432 1. {main}

      () /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:0 0.1880 22156192 2. include_once('/media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup_check.html') /media/data/www.school.tiseagles.com/htdocs/moodle/backup/backup.php:133

        Gliffy Diagrams

          Activity

          Hide
          Dan Marsden added a comment -

          Hi There,

          Support for general bug fixes on the Moodle 1.9 branch ended June 2011 - support for serious security issues on the Moodle 1.9 branch ends Dec 2013

          as this is not a security issue this is being closed as "won't fix" - please upgrade to a more recent supported Moodle version.

          More information on the support cycles for Moodle versions is available here:
          http://docs.moodle.org/dev/Releases#Moodle_1.9

          Show
          Dan Marsden added a comment - Hi There, Support for general bug fixes on the Moodle 1.9 branch ended June 2011 - support for serious security issues on the Moodle 1.9 branch ends Dec 2013 as this is not a security issue this is being closed as "won't fix" - please upgrade to a more recent supported Moodle version. More information on the support cycles for Moodle versions is available here: http://docs.moodle.org/dev/Releases#Moodle_1.9

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: