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

Error when attempting to display user's badges at their profile page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.3
    • Badges
    • None
    • MOODLE_403_STABLE

      When accessing https://moodle.org/user/profile.php?id=709961 we are getting a general exception message:

      Exception - count(): Argument #1 ($value) must be of type Countable|array, stdClass given

      Reproducing the problem with the full developer debugging on gives the following stack trace:

      Weirdly enough, after attempting to debug this, I started to get a different error:

            Unassigned Unassigned
            mudrd8mz David Mudrák (@mudrd8mz)
            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.