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

get_store_configuration_from_data(stClass $data) typo causes exception PHP 8.3

XMLWordPrintable

      When adding a cache instance, exception created due to typo `stClass` instead of `stdClass` when using php 8.3

       

      https://github.com/moodle/moodle/blob/main/cache/classes/local/administration_display_helper.php#L299

       

      Exception - core_cache\local\administration_display_helper::get_store_configuration_from_data(): Argument #1 ($data) must be of type core_cache\local\stClass, stdClass given, called in [dirroot]/cache/classes/local/administration_display_helper.php on line 483
      

            Unassigned Unassigned
            x-iy David Adamson
            Jake Dallimore Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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