Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31167 PHP strict META
  3. MDL-36549

Strict standard errors in lesson

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.3, 2.4
    • Fix Version/s: 2.3.4, 2.4.1
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a lesson
      2. Add a cluster with a multiple-choice question
      3. Preview and progress through lesson

      Make sure there is no strict standards error.

      Show
      Create a lesson Add a cluster with a multiple-choice question Preview and progress through lesson Make sure there is no strict standards error.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Replication steps:

      1. Create a lesson
      2. Add a cluster with a multiple-choice question
      3. Preview and progress through lesson

      The following warning is produced when submitting the result of the mcq

      Strict standards: Creating default object from empty value in /var/www/int/master/moodle/mod/lesson/view.php on line 341
       
      Call Stack: 0.0010 1020536 1. {main}() /var/www/int/master/moodle/mod/lesson/view.php:0 

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13