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

mod_hotpot: offset access syntax with curly braces deprecated in PHP 7.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.2
    • Module: HotPot
    • None
    • MOODLE_311_STABLE

      When running basic operational tests on mod_hotpot version 2020060544 release 2020-06-05 (44) on the latest Moodle 3.11 running PHP 7.4, the following error is encountered when adding an instance of the activity module to a course, which appears to be because of deprecation of the array/string offset syntax in PHP 7.4:

       

      Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/code/www/moodle_prod/mod/hotpot/source/hp/class.php on line 469

       

            xxxxxxx Gordon Bateson
            lreynolds Logan Reynolds
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.