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

PHP warnings requesting external grading form instances

XMLWordPrintable

      See the following PHP warnings when calling the core_grading_get_gradingform_instances external service:

      [Wed Nov 06 08:03:22.897667 2024] [php:warn] [pid 32:tid 32] [client 172.18.0.1:43878] PHP Warning:  Attempt to read property "id" on int in /var/www/html/lib/external/classes/util.php on line 555
      172.18.0.1 - - [06/Nov/2024:08:03:22 +0000] "POST /webservice/rest/server.php?moodlewsrestformat=json HTTP/1.1" 200 608 "-" "curl/7.68.0"
      

      It's because the text formatting inside that method is passing $context->id instead of expected $context instance

            pholden Paul Holden
            pholden Paul Holden
            Daniel Ziegenberg Daniel Ziegenberg
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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