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

Error when trying to mark an activity completed on Course Completion Report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Course completion
    • None
    • MOODLE_23_STABLE

      Course Completion was working fine before we upgraded to 2.3.1 from 2.2. However, after the upgrade we can no longer mark anything completed on Course Completion Report. When we try to mark an activity completed we get the following error:

      Fatal error: Cannot use object of type stdClass as array in /Moodle/lib/completion/completion_criteria.php on line 170

      The error is occurring on /course/togglecompletion.php according to the url on the browser.

            sry_not4sale Aaron Barnes (Inactive)
            nashidhasan Nashid Hasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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