Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3899

Scheduler link is broken in Activity Module Block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.2.4
    • Module: Scheduler
    • None
    • MOODLE_22_STABLE
    • MOODLE_23_STABLE

      When you create a Scheduler, this generates a link to "Schedulers" in the "Activities" block. When you click this link, the resulting page contains an error message that reads "Coding error detected, it must be fixed by a programmer: PHP catchable fatal error." The error log says the following:

      Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 2 passed to has_capability() must be an instance of context, null given, called in /Library/WebServer/[themename]/mod/scheduler/index.php on line 75 and defined\n* line 365 of /lib/setuplib.php: coding_exception thrown\n* line 348 of /lib/accesslib.php: call to default_error_handler()\n* line 75 of /mod/scheduler/index.php: call to has_capability()\n, referer: [baseurl]/report/log/index.php?chooselog=1&showusers=1&showcourses=0&id=1&user=[userid]&date=[date]&modid=&modaction=&logformat=showashtml

            bostelm Henning Bostelmann
            rloconne Rebecca O'Connell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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