Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5073

invisible section causes an error with "topcoll" format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.7
    • 2.7
    • Course format: Topcoll
    • None
    • 2.7.0.1
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE

    Description

      1. Create new course with "topcoll" format.
      2. Turn Section-3 invisible.
      3. Log in as student.
      4. Moodle shows the following message:

      "Fatal error: Call to undefined method stdClass::get_section() in /var/www/moodle/course/format/topcoll/renderer.php on line 453"

      My env.:
      Moodle 2.7 (Build: 20140512)
      Collapsed Topics 2.7.0.1 (2014051200)

      Attachments

        Activity

          People

            gb2048 Gareth J Barnard
            topstone ISHIKAWA Takayuki
            Gareth J Barnard Gareth J Barnard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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