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

Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/moodle/lib/dmllib.php on line 376

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.6.7, 1.7.5, 1.8.5, 1.9, 2.0
    • 1.8.2, 2.0
    • Libraries
    • None
    • Any
    • MOODLE_18_STABLE, MOODLE_20_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Call count_records_sql() with a query that returns 0 results. $rs->fields is set to "false", so reset($rs->fields) produces the warning in the summary.

      NB: In 2.0 from CVS, the line number is 382 instead of 376.

            nicolasconnault Nicolas Connault (Inactive)
            moquist Matt Oquist (Inactive)
            Nobody Nobody (Inactive)
            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.