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

Exception when viewing users forum posts as a guest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.4, 3.10.3, 3.11, 4.0
    • Fix Version/s: 3.9.7, 3.10.4
    • Component/s: Forum
    • Labels:

      Description

      In some undetermined cases, you can have this message when you browse mod/forum/user.php script :

      > Exception : Call to a member function make_active() on bool

      Example : https://moodle.org/mod/forum/user.php?id=3120692&course=5

      (referer : https://moodle.org/mod/forum/discuss.php?d=400016#p1616167)

       
      Note : exception seems to be raised only when login as guest.

        Attachments

        1. MDL-70772.jpg
          MDL-70772.jpg
          7 kB
        2. MDL-70772 1.png
          MDL-70772 1.png
          30 kB
        3. MDL-70772  guest.png
          MDL-70772 guest.png
          43 kB

          Activity

            People

            Assignee:
            pholden Paul Holden
            Reporter:
            jboulen Julien Boulen
            Peer reviewer:
            Simey Lameze Simey Lameze
            Integrator:
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/May/21

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 15 minutes
                3h 15m