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

Calling deprecated make_categories_list() in badges

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.5
    • Badges
    • None
    • MOODLE_25_STABLE

      Noticed this error while testing: MDL-39207.

      Adding 'completing a set of courses' criteria in badge produces the following error:

      Global function make_categories_list() is deprecated. Please use coursecat::make_categories_list() and coursecat::get_parents()
       
          line 3524 of /lib/deprecatedlib.php: call to debugging()
          line 86 of /badges/criteria/award_criteria_courseset.php: call to make_categories_list()
          line 45 of /badges/criteria_form.php: call to award_criteria_courseset->get_courses()
          line 191 of /lib/formslib.php: call to edit_criteria_form->definition()
          line 78 of /badges/criteria_settings.php: call to moodleform->moodleform()
      

            ybozhko Yuliya Bozhko
            rwijaya Rossiani Wijaya
            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.