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

E_STRICT warning when deleting one course category

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Course
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      1) Enable debug developer.
      2) Go to Admin -> Courses -> Add/Edit courses
      3) Click the X (delete icon) of any category having some course(s).
      4) You are asked for confirmation. No need to proceed. In that page...
      4) TEST: The warning in the description is not shown at all.

      That is, puro simple! Ciao

      Show
      1) Enable debug developer. 2) Go to Admin -> Courses -> Add/Edit courses 3) Click the X (delete icon) of any category having some course(s). 4) You are asked for confirmation. No need to proceed. In that page... 4) TEST: The warning in the description is not shown at all. That is, puro simple! Ciao

      Getting this warning:

      Strict standards: Only variables should be passed by reference in course/delete_category_form.php on line 106

      Fix is trivial, split the array_keys() and reset() as far as the later requires a true variable (because it's modified by it).

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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