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

Course page: Notice: Undefined property: stdClass::$forum_allowforcedreadtracking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • None
    • 2.6
    • Course
    • MOODLE_26_STABLE
    • Hide

      Visit the notifications page.

      Show
      Visit the notifications page.

      Running the QA test in MDL-42772 I found a warning on the course page. To reproduce you can follow the QA test instructions (but you may just look at the code it may be a easy fix):

      1. From a 2.5 install
      2. Login as admin
      3. Set up the admin user profile if not done already
      4. LOGOUT
      5. Upgrade to 2.6
      6. Make sure you don't see any error
      7. Navigate wherever you can as guest
      8. Make sure you don't see any notice
      9. Login as admin
      10. Create a course
      11. Go to the course
        => above the "News forum" you can see the following warnings:

      Notice: Undefined property: stdClass::$forum_allowforcedreadtracking in /home/jerome/moodles/stable_25_42772/moodle/mod/forum/lib.php on line 6882

            markn Mark Nelson
            jerome Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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