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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.3.1
    • None
    • Course completion
    • None
    • MOODLE_23_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              sry_not4sale Aaron Barnes
              nashidhasan Nashid Hasan
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: