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

Cannot create new questionnaire

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.1
    • 2.0
    • Module: Questionnaire
    • None
    • MOODLE_20_STABLE
    • MOODLE_21_STABLE

      Cannot create new questionnaire.
      When saving new questionnaire form, I get the following error messages and questionnaire is NOT created.

      Notice: Trying to get property of non-object in C:\server\htdocs\moodle20git\moodle\mod\questionnaire\locallib.php on line 57
      Error: could not insert new context level "70", instance "". cm with id does not exist

      • line 1886 of \lib\accesslib.php: call to debugging()
      • line 2223 of \lib\accesslib.php: call to create_context()
      • line 57 of \mod\questionnaire\locallib.php: call to get_context_instance()
      • line 76 of \mod\questionnaire\locallib.php: call to questionnaire->questionnaire()
      • line 19 of \mod\questionnaire\mod_form.php: call to questionnaire->__construct()
      • line 152 of \lib\formslib.php: call to mod_questionnaire_mod_form->definition()
      • line 71 of \course\moodleform_mod.php: call to moodleform->moodleform()
      • line 219 of \course\modedit.php: call to moodleform_mod->moodleform_mod()

      Notice: Undefined property: object::$id in C:\server\htdocs\moodle20git\moodle\mod\questionnaire\locallib.php on line 57

            mchurch Mike Churchward
            rezeau Joseph Rézeau
            Votes:
            0 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.