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

PHP 7.1: "Illegal string offset 'text'" when running unittests on questions formats

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Component/s: Questions
    • Labels:

      Description

      Not sure yet what/where is the cause, see full results in the file attached to MDL-55120

      Typical backtrace (other question formats are also affected):

      28) qformat_examview_test::test_import_fill_in_the_blank
      Illegal string offset 'text'
       
      /home/moodle/moodles/m/moodle/question/format.php:676
      /home/moodle/moodles/m/moodle/question/format/examview/format.php:251
      /home/moodle/moodles/m/moodle/question/format/examview/format.php:208
      /home/moodle/moodles/m/moodle/question/format/examview/format.php:177
      /home/moodle/moodles/m/moodle/question/format/examview/tests/examviewformat_test.php:186
      /home/moodle/moodles/m/moodle/lib/phpunit/classes/advanced_testcase.php:80
      

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Tim Hunt
            Integrator:
            Dan Poltawski
            Tester:
            Rajesh Taneja
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/16