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

Missing firstnamephonetic property error in recent activity page for some activities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6.2
    • 2.6
    • Glossary, Quiz
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-44055-master
    • Hide
      • Create a new glossary which students can add entries to
      • Create a new quiz with a simple question in it
      • As a student take the quiz and create a glossary
      • View the Recent activity page (/course/recent.php?id=<courseid>)
        • Confirm absence of errors
      Show
      Create a new glossary which students can add entries to Create a new quiz with a simple question in it As a student take the quiz and create a glossary View the Recent activity page (/course/recent.php?id=<courseid>) Confirm absence of errors

      Using Moodle 2.6.1+ (Build: 20140207)

      On the Recent activity page,

      1.- the following error is issued:
      You need to update your sql to include additional name fields in the user object.

      line 3570 of \lib\moodlelib.php: call to debugging()
      line 926 of \mod\quiz\lib.php: call to fullname()
      line 171 of \course\recent.php: call to quiz_get_recent_mod_activity()

      2.- And this other error is issued specifically for Glossary and Quiz activities:

      Missing firstnamephonetic property in $user object, this is a performance problem that needs to be fixed by a developer. Please use user_picture::fields() to get the full list of required fields.

      line 196 of \lib\outputcomponents.php: call to debugging()
      line 2254 of \lib\outputrenderers.php: call to user_picture->__construct()
      line 941 of \mod\quiz\lib.php: call to core_renderer->user_picture()
      line 258 of \course\recent.php: call to quiz_print_recent_mod_activity()

            dobedobedoh Andrew Lyons
            rezeau Joseph Rézeau
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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