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

Custom profile fields with the same name as user profile fields cause exception on profile page


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.9.2
    • 2.9, 3.0
    • Navigation

      I recently upgrade to Moodle 2.9 but when the students want to access their profiles have the below message
      Debug info:
      Error code: codingerror
      Stack trace:

      line 62 of \user\classes\output\myprofile\tree.php: coding_exception thrown
      line 380 of \lib\myprofilelib.php: call to core_user\output\myprofile\tree->add_node()
      line 53 of \user\classes\output\myprofile\manager.php: call to core_myprofile_navigation()
      line 220 of \user\profile.php: call to core_user\output\myprofile\manager::build_tree()

            fred Frédéric Massart
            legramajo Ligia Gramajo
            Ankit Agarwal Ankit Agarwal
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            2 Vote for this issue
            6 Start watching this issue


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