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

Coding problem: $PAGE->context was not set when using the comments block on the dashboard


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.5, 3.1.1
    • 3.1
    • Comments

      Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/moodle/comment/comment_post.php on line 51
      Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result

      line 458 of /lib/pagelib.php: call to debugging()
      line 773 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      line 1242 of /lib/weblib.php: call to moodle_page->__get()
      line 709 of /comment/lib.php: call to format_text()
      line 59 of /comment/comment_post.php: call to comment->add()

      Skip to main content
      This page should automatically redirect. If nothing is happening please use the continue link below.

      Error output, so disabling automatic redirect.

            marina Marina Glancy
            sbourget Stephen Bourget
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Simey Lameze Simey Lameze
            0 Vote for this issue
            4 Start watching this issue


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