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

Undefined property: stdClass::$id in /.../lib/accesslib.php on line 4727

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I just did an upgrade on my 1.9 test site to build 2007101533.01 and Moodle is now throwing the above notice hundreds of times on every page. It's this bit of code...

      4718
      4719 //error_log(" Record: " . print_r($user,1));
      4720
      4721 //
      4722 // Pagination controls
      4723 // Note that we might end up removing a user
      4724 // that ends up not having the rights,
      4725 // therefore rolling back $c
      4726 //
      4727 if ($lastuserid != $user->id) {
      4728

      Granted, it could be a local issue on my test site, but I thought I'd better report it to be safe!!

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09