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

Calculated question error: undefined stdClass::$nextpageparam

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9
    • None
    • Questions
    • None
    • MOODLE_19_STABLE

    Description

      I created a calculated question, with the following attributes:

      • No shared wild cards
      • Question name: What is true
      • Question text: How much is {a} * {b} ?
        - Format: Moodle auto-format
        - No images
        - Default question grade: 1
        - Penalty factor: 0.1
        - General Feedback: null
        - Correct answer formula: {a}

        *

        {b}
      • Grade: 100%
      • Tolerance ±: 0.01
      • Tolerance type: Relative
      • Correct answer shows: 2
      • Format: decimals
      • Feedback: null
      • Unit 1 : null

      I got these two errors:

      ( ! ) Notice: Undefined property: stdClass::$nextpageparam in F:\VertrigoServ\www\moodle_head\question\question.php on line 186
      Call Stack

      1. Time Memory Function Location
        1 0.0191 192464 {main}( ) ..(null):0

        ( ! ) Fatal error: Unsupported operand types in F:\VertrigoServ\www\moodle_head\question\question.php on line 186
        Call Stack
        # Time Memory Function Location
        1 0.0191 192464 {main}

        ( ) ..(null):0

      Attachments

        Activity

          People

            jamiesensei Jamie Pratt
            nicolasconnault Nicolas Connault
            Nobody Nobody
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: