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

PHP Strict Standards error: graph.php on line 194

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3, 2.5
    • Fix Version/s: 2.4.5, 2.5.1
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy, requires access to activity reports)

      1. Visit _Home ► My profile settings ► Activity reports ► Today's logs
      2. The graph is displayed and no PHP error is written into the logs
      Show
      (difficulty: easy, requires access to activity reports) Visit _Home ► My profile settings ► Activity reports ► Today's logs The graph is displayed and no PHP error is written into the logs
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m25_MDL-38545_PHP_Strict_error

      Description

      When visiting Home ► My profile settings ► Activity reports ► Today's logs the graph is not displayed and the PHP error log tells about it:

      PHP Strict Standards:  Creating default object from empty value
      in /path/to/report/log/graph.php on line 194
      

        Attachments

          Activity

            People

            Assignee:
            matteo Matteo Scaramuccia
            Reporter:
            matteo Matteo Scaramuccia
            Peer reviewer:
            Petr Skoda
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jul/13