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

Can't access postings in forums

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      I upgraded to 2.01+ from 2.01
      I wasn't having any problems with the forums
      now I get this:

      Notice: Undefined property: stdClass::$context in /home/lawsch6/public_html/mod/forum/lib.php on line 5321

      Notice: Trying to get property of non-object in /home/lawsch6/public_html/rating/lib.php on line 297
      Incorrect context specified

      line 563 of /lib/accesslib.php: call to debugging()
      line 354 of /rating/lib.php: call to has_capability()
      line 5337 of /mod/forum/lib.php: call to rating_manager->get_ratings()
      line 271 of /mod/forum/discuss.php: call to forum_print_discussion()

      Incorrect context specified

      line 563 of /lib/accesslib.php: call to debugging()
      line 355 of /rating/lib.php: call to has_capability()
      line 5337 of /mod/forum/lib.php: call to rating_manager->get_ratings()
      line 271 of /mod/forum/discuss.php: call to forum_print_discussion()

      Incorrect context specified

      line 563 of /lib/accesslib.php: call to debugging()
      line 356 of /rating/lib.php: call to has_capability()
      line 5337 of /mod/forum/lib.php: call to rating_manager->get_ratings()
      line 271 of /mod/forum/discuss.php: call to forum_print_discussion()

      Incorrect context specified

      line 563 of /lib/accesslib.php: call to debugging()
      line 357 of /rating/lib.php: call to has_capability()
      line 5337 of /mod/forum/lib.php: call to rating_manager->get_ratings()
      line 271 of /mod/forum/discuss.php: call to forum_print_discussion()

      Notice: Trying to get property of non-object in /home/lawsch6/public_html/rating/lib.php on line 362

      Invalid context

      More information about this error
      Stack trace:

      line 421 of /lib/setuplib.php: moodle_exception thrown
      line 3457 of /mod/forum/lib.php: call to print_error()
      line ? of unknownfile: call to forum_rating_permissions()
      line 7240 of /lib/moodlelib.php: call to call_user_func_array()
      line 612 of /rating/lib.php: call to plugin_callback()
      line 362 of /rating/lib.php: call to rating_manager->get_plugin_permissions_array()
      line 5337 of /mod/forum/lib.php: call to rating_manager->get_ratings()
      line 271 of /mod/forum/discuss.php: call to forum_print_discussion()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              vrrandall Vernellia Randall
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: