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

error when trying to view other users from within course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Administration, Enrolments
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      As admin view a course. Within the settings block go to Users and click on Other Users. The following is displayed.

      Warning: Missing argument 2 for course_enrolment_table::set_fields(), called in /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php on line 79 and defined in /home/camand/etc/www/mymoodle.com/moodle/enrol/renderer.php on line 394 Call Stack: 0.0004 347836 1.

      {main}() /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:0 0.2387 18806268 2. course_enrolment_table->set_fields() /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:79 Notice: Undefined variable: output in /home/camand/etc/www/mymoodle.com/moodle/enrol/renderer.php on line 413 Call Stack: 0.0004 347836 1. {main}

      () /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:0 0.2387 18806268 2. course_enrolment_table->set_fields() /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:79 Fatal error: Call to a member function pix_url() on a non-object in /home/camand/etc/www/mymoodle.com/moodle/enrol/renderer.php on line 531 Call Stack: 0.0004 347836 1.

      {main}

      () /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:0 0.2387 18806268 2. course_enrolment_table->set_fields() /home/camand/etc/www/mymoodle.com/moodle/enrol/otherusers.php:79 0.2396 18811900 3. course_enrolment_table->get_direction_icon() /home/camand/etc/www/mymoodle.com/moodle/enrol/renderer.php:413

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            andyjdavis Andrew Davis
            Tester:
            Andrew Davis
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10