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

error in forum ratings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0
    • Forum

      When add or configure a forum in a course where select diferent option in "Aggregate type" (Ratings), this forum show error "Invalid context".

      Debugin show:
      Notice: Undefined property: stdClass::$context in /.../mod/forum/lib.php on line 5321
      Notice: Trying to get property of non-object in /.../rating/lib.php on line 297

      In function get_ratings (defined in file rating/lib.php) can look that the context get to $PAGE->context, not from $options->context; ¿this is the error?

            andyjdavis Andrew Davis
            zap Alexander
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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