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

Invalid param error when adding page resource with completion tracking.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.3
    • Repositories
    • MOODLE_23_STABLE

      To reproduce:
      enable completion tracking for the site and course. Add page resource to a course and set completion tracking to "show activity as complete when conditions are met" and untick the required view option.

      The following error occurs:

      Invalid array parameter detected in required_param(): page
       
          line 597 of /lib/moodlelib.php: call to debugging()
          line 48 of /repository/wikimedia/lib.php: call to optional_param()
          line 907 of /repository/lib.php: call to repository_wikimedia->__construct()
          line 2646 of /repository/lib.php: call to repository::get_instances()
          line 311 of /lib/form/editor.php: call to initialise_filepicker()
          line 183 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_editor->toHtml()
          line 2384 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
          line 403 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
          line 1631 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
          line 1414 of /lib/formslib.php: call to HTML_QuickForm->accept()
          line 1674 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
          line 435 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
          line 204 of /lib/pear/HTML/QuickForm/DHTMLRulesTableless.php: call to HTML_Common->display()
          line 896 of /lib/formslib.php: call to HTML_QuickForm_DHTMLRulesTableless->display()
          line 662 of /course/modedit.php: call to moodleform->display()

            moodle.com Moodle HQ
            rwijaya Rossiani Wijaya
            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.