Moodle

Can't add user

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

Clicking to add new user ( ...moodle/user/editadvanced.php?id=-1) throws this message in (Build: 20090711):

Coding error detected, it must be fixed by a programmer: The theme has already been set up for this page ready for output. Therefore, you can no longer change the theme, or anything that might affect what the current theme is, for example, the course.

More information about this error
Stack trace when the theme was set up:

  • line 825 of \lib\setuplib.php: call to moodle_page->initialise_theme_and_output()
  • line ? of unknownfile: call to bootstrap_renderer->__call()
  • line 1091 of \lib\formslib.php: call to bootstrap_renderer->old_icon_url()
  • line 144 of \lib\formslib.php: call to MoodleQuickForm->MoodleQuickForm()
  • line 82 of \user\editadvanced.php: call to moodleform->moodleform()

Stack trace:

  • line 1135 of \lib\pagelib.php: coding_exception thrown
  • line 522 of \lib\pagelib.php: call to moodle_page->ensure_theme_not_set()
  • line 1996 of \lib\moodlelib.php: call to moodle_page->set_course()
  • line 5005 of \lib\adminlib.php: call to require_login()
  • line 191 of \user\editadvanced.php: call to admin_externalpage_setup()

Activity

Hide
Dan Poltawski added a comment -

I can't reproduce this anymore - I expect its been fixed somewhere along the line..,

Show
Dan Poltawski added a comment - I can't reproduce this anymore - I expect its been fixed somewhere along the line..,

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: