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

PHP 8.0: Allows named Parameters; call_user_func_array() with wrong parameter names breaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11
    • 3.10.1, 3.11, 4.0
    • Backup, General

      Exception - Unknown named parameter $name
       
      More information about this error
      Debug info:
      Error code: generalexceptionmessage
      Stack trace:
       
          line 210 of /backup/util/ui/base_moodleform.class.php: Error thrown
          line 211 of /backup/util/ui/backup_ui_stage.class.php: call to base_moodleform->add_settings()
          line 96 of /backup/util/ui/backup_ui_stage.class.php: call to backup_ui_stage_initial->initialise_stage_form()
          line 138 of /backup/util/ui/base_ui.class.php: call to backup_ui_stage_initial->process()
          line 147 of /backup/backup.php: call to base_ui->process()
      

      see also https://php.watch/versions/8.0/named-parameters

            marina Marina Glancy
            marina Marina Glancy
            Peter Dias Peter Dias
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m

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