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

error while running ' processing event queue' in cron

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Events API
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      There cron extract is below. (theres also a strange bug with the debugging backtrace : "line ? of unknownfile").

      Finished admin reports
      Starting main gradebook job ...
      done.
      Starting processing the event queue...
      <div class="notifytiny">Error: could not insert new context level "50", instance "8". incorrect course id (8)* line 1818 of /lib/accesslib.php: call to debugging()

      • line 2146 of /lib/accesslib.php: call to create_context()
      • line 5674 of /mod/forum/lib.php: call to get_context_instance()
      • line ? of unknownfile: call to forum_user_enrolled()
      • line 246 of /lib/eventslib.php: call to call_user_func()
      • line 284 of /lib/eventslib.php: call to events_dispatch()
      • line 383 of /lib/eventslib.php: call to events_process_queued_handler()
      • line 176 of /lib/cronlib.php: call to events_cron()
      • line 81 of /admin/cron.php: call to cron_run()
        </div>done.
        Running auth crons if required...
        Running enrol crons if required...

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            nebgor Aparup Banerjee
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10