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

deprecated context_instance_preload() still used in forum and enrollib.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.6, 2.5.2
    • 2.6
    • Forum

      1. As a user create some forum posts
      2. Go to: Home / My profile / Forum posts / Posts

      Boom:

      context_instance_preload() is deprecated, please use context_helper::preload_from_record() instead.
      line 4135 of /lib/deprecatedlib.php: call to debugging()
      line ? of unknownfile: call to context_instance_preload()
      line 8137 of /mod/forum/lib.php: call to array_map()
      line 117 of /mod/forum/user.php: call to forum_get_courses_user_posted_in()
      

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Damyon Wiese Damyon Wiese
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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