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

Lessons with sub-clusters generates strict notices.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.4, 3.2.1
    • 3.2
    • Lesson
    • MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • wip-MDL-57464-master
    • Hide
      • Make sure to have debugging on.
      1. Create a lesson.
      2. Create a sub-cluster:
        1. Add A cluster with at least two question in it. Make sure to add an end of cluster page to mark the end of the cluster.
        2. With the questions have the correct answer jump to the cluster.
        3. Add a content page in the cluster and call it sub-cluster.
        4. Make the first jump go to the cluster.
        5. Add two numerical questions. Have the answer jump to the end of the branch.
        6. Add an end of branch page to show the end of the sub-cluster.
      3. Take the lesson as a student.
      4. Make sure that no notices are shown when taking the lesson.
      Show
      Make sure to have debugging on. Create a lesson. Create a sub-cluster: Add A cluster with at least two question in it. Make sure to add an end of cluster page to mark the end of the cluster. With the questions have the correct answer jump to the cluster. Add a content page in the cluster and call it sub-cluster. Make the first jump go to the cluster. Add two numerical questions. Have the answer jump to the end of the branch. Add an end of branch page to show the end of the sub-cluster. Take the lesson as a student. Make sure that no notices are shown when taking the lesson.

      When attempting a lesson with a sub-cluster as a student I get the following warning:

      Strict Standards: Only variables should be passed by reference in /home/adrian/moodles/stable_master_postgres/moodle/mod/lesson/pagetypes/endofbranch.php on line 61

      The fix is quite straightforward and has been attached.

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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