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

get_string() error when creating an IMS activity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.3
    • IMS-CP resource type
    • MOODLE_23_STABLE

      To replicate:

      1. Create a new IMS activity
      2. Select a file which is not of a valid type for this activity
      3. Save and return to the course

      An error appears:

      extralocations parameter in get_string() is not supported any more, please use standard lang locations only.
       
          line 7138 of /lib/moodlelib.php: call to debugging()
          line 84 of /mod/imscp/mod_form.php: call to get_string()
          line 523 of /lib/formslib.php: call to mod_imscp_mod_form->validation()
          line 472 of /lib/formslib.php: call to moodleform->validate_defined_fields()
          line 569 of /lib/formslib.php: call to moodleform->is_validated()
          line 265 of /course/modedit.php: call to moodleform->get_data()

      And the error string for the file is empty:

      "" is not a valid file type

            moodle.com Moodle HQ
            fred Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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