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

HTML_QuickForm method _loadElement invokes a non-static function statically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Critical Critical
    • None
    • 2.9.4, 3.0.2, 3.1.4
    • Forms Library
    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Easy

      Method _loadElement in lib/pear/HTML/QuickForm.php statically invokes own method isTypeRegistered on line 559 like this

      if (!HTML_QuickForm::isTypeRegistered($type)) {

      while it is a not-static method and should be invoked like this

      if (!$this->isTypeRegistered($type)) {

            Unassigned Unassigned
            wjroes W.J. Roes
            John Okely John Okely
            David Monllaó David Monllaó
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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