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

Requested user profile field does not exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      Hi, I get an error when I want to get into a course. I can't open the course with the trainer login and also I can't open it with the admin login. It's a new course which has only a few activities inside. I don't say what the problem is.

      Requested user profile field does not exist

      Debug info: 
      Error code: codingerror
      Stack trace:
      line 1301 of /lib/conditionlib.php: coding_exception thrown
      line 1010 of /lib/conditionlib.php: call to condition_info_base->get_cached_user_profile_field()
      line 1108 of /lib/modinfolib.php: call to condition_info_base->is_available()
      line 345 of /lib/modinfolib.php: call to cm_info->obtain_dynamic_data()
      line 1341 of /lib/modinfolib.php: call to course_modinfo->__construct()
      line 1000 of /lib/completionlib.php: call to get_fast_modinfo()
      line 47 of /report/progress/lib.php: call to completion_info->get_activities()
      line 2457 of /lib/navigationlib.php: call to report_progress_extend_navigation_course()
      line 1133 of /lib/navigationlib.php: call to global_navigation->add_course_essentials()
      line 2918 of /lib/navigationlib.php: call to global_navigation->initialise()
      line 766 of /lib/pagelib.php: call to navbar->has_items()
      line 4 of /theme/leatherbound/layout/general.php: call to moodle_page->has_navbar()
      line 804 of /lib/outputrenderers.php: call to include()
      line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 230 of /course/view.php: call to core_renderer->header()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              krause Ralf Krause
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: