Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4083

Undefined property: stdClass::$numsections mod/checklist/locallib.php Checklist not working 2.4 Moodle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Package: Checklist
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      I upgraded FROM 2.3+ (Moodle) with version/build 2012092002 (Checklist) TO 2.4+ (Moodle) with version/build 2012120700 (Checklist).

      I am receiving the following error on my server:

      PHP Notice: Undefined property: stdClass::$numsections in /home/vdaltman/public_html/elearning/mod/checklist/locallib.php on line 182

      While all of my completed checklists are fine, my incomplete checklists are not working. The module does not pull in any activities or resources whatsoever. I can only add activities manually. There is no automatic inclusion either for the entire course or for current module. I have changed settings - student only, current modules, entire course, etc.

      I went into the autoupdate.php as directed, ran a manual cron with this result:

      Processing module function checklist_cron ...Looking for updates in courses: 41,46,47,48,53,58,72,73,82,42
      Found 13 log updates to check
      No checkmarks need updating from log changes
      Found 0 completion updates to check
      No checkmarks need updating from completion changes
      ... used 6 dbqueries
      ... used 0.012048959732056 seconds
      done.

      Checklist is not picking up any assignments, journals, resources, etc. in a topic/section not already completed.

      I have gone into the course as both a student, teacher and administrator. I also went to the Github to compare the locallib code to the uploaded code. It appears identical.

      I'm not positive this is a bug but I have been unable to unearth any information to rectify the problem. Any direction would be greatly appreciated.

        Attachments

        1. screen1.png
          screen1.png
          111 kB
        2. screen2.png
          screen2.png
          38 kB
        3. screen3.png
          screen3.png
          38 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: