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

Strict standards in calculated question type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.5, 2.3.2
    • 2.2.4, 2.3.1, 2.4
    • Questions
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide
      1. Make sure you have debugging turned up to the max.
      2. Go to the question bank.
      3. Start to create a new calculated question.
      4. When you get to that point, choose to create a new shared data set for the wild cards
      5. On the next page, verify that there are no Strict Syntax warnings.

      http://docs.moodle.org/23/en/Calculated_question_type if you are not already familiar with qtype calculated.

      Show
      Make sure you have debugging turned up to the max. Go to the question bank. Start to create a new calculated question. When you get to that point, choose to create a new shared data set for the wild cards On the next page, verify that there are no Strict Syntax warnings. http://docs.moodle.org/23/en/Calculated_question_type if you are not already familiar with qtype calculated.

      1. Create a new quiz
      2. Add a new calculated question to the quiz
      3. Create a new shared data set for the wild cards

      The page displays:

      Strict standards: Creating default object from empty value in /home/fred/www/repositories/stable_master/moodle/question/type/calculated/questiontype.php on line 1712
       
      Call Stack:
          0.0006     839744   1. {main}() /home/fred/www/repositories/stable_master/moodle/question/question.php:0
          0.1791   54623008   2. qtype_calculated->next_wizard_form() /home/fred/www/repositories/stable_master/moodle/question/question.php:198
          0.1811   55341904   3. question_dataset_dependent_items_form->__construct() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/questiontype.php:443
          0.1823   55350352   4. moodleform->moodleform() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/datasetitems_form.php:107
          0.1850   55475760   5. question_dataset_dependent_items_form->definition() /home/fred/www/repositories/stable_master/moodle/lib/formslib.php:191
          0.1853   55522824   6. qtype_calculated->print_dataset_definitions_category_shared() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/datasetitems_form.php:123
       
       
      Strict standards: Creating default object from empty value in /home/fred/www/repositories/stable_master/moodle/question/type/calculated/questiontype.php on line 1712
       
      Call Stack:
          0.0006     839744   1. {main}() /home/fred/www/repositories/stable_master/moodle/question/question.php:0
          0.1791   54623008   2. qtype_calculated->next_wizard_form() /home/fred/www/repositories/stable_master/moodle/question/question.php:198
          0.1811   55341904   3. question_dataset_dependent_items_form->__construct() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/questiontype.php:443
          0.1823   55350352   4. moodleform->moodleform() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/datasetitems_form.php:107
          0.1850   55475760   5. question_dataset_dependent_items_form->definition() /home/fred/www/repositories/stable_master/moodle/lib/formslib.php:191
          0.1853   55522824   6. qtype_calculated->print_dataset_definitions_category_shared() /home/fred/www/repositories/stable_master/moodle/question/type/calculated/datasetitems_form.php:123

            timhunt Tim Hunt
            fred Frédéric Massart
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            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.