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

Can not add user if I put an other field in user profile field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.4
    • None
    • MOODLE_34_STABLE

      Debug info: SELECT id FROM {user} WHERE id = ? AND deleted = ?
      [array (
      0 => -1,
      1 => 0,
      )]
      Error code: invaliduser
      ×Stack trace: * line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown

      • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
      • line 6015 of /lib/accesslib.php: call to moodle_database->get_record()
      • line 416 of /user/profile/lib.php: call to context_user::instance()
      • line 578 of /user/profile/lib.php: call to profile_field_base->is_visible()
      • line 149 of /user/editadvanced_form.php: call to profile_definition()
      • line 204 of /lib/formslib.php: call to user_editadvanced_form->definition()
      • line 155 of /user/editadvanced.php: call to moodleform->__construct()

      The error goes away if one delete other fields of user profile fields

            Unassigned Unassigned
            ennoausberlin Enrico Schwass
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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