Skip to content

Deprecation warnings on test environment #478

@CGCUofG

Description

@CGCUofG

On Moodle test environment using:
Moodle version 4.5.7+ (Build: 20251121)
Kaltura Media Assignment release 4.5.12024100702
PHP 8.3

the following warnings are showing in Kaltura media assignment grading window:

  1. When work is not yet graded in Moodle, from the Kaltura assignment grading window in Moodle.

Invalid event functions defined in \mod_kalvidassign\event\grade_submissions_page_viewed
line 275 of /lib/classes/event/base.php: call to debugging()
line 64 of /mod/kalvidassign/grade_submissions.php: call to core\event\base::create()
user_picture::fields() is deprecated. Please use the \core_user\fields API instead.
line 152 of /lib/classes/output/user_picture.php: call to debugging()
line 865 of /mod/kalvidassign/renderer.php: call to core\output\user_picture::fields()
line 221 of /mod/kalvidassign/grade_submissions.php: call to mod_kalvidassign_renderer->display_submissions_table()

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/moodle45/local/kaltura/locallib.php on line 241
Invalid get_string() identifier: 'grade' or component 'moodle'. Perhaps you are missing $string['grade'] = ''; in lang/en/moodle.php?
line 355 of /lib/classes/string_manager_standard.php: call to debugging()
line 7031 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 369 of /mod/kalvidassign/renderer.php: call to get_string()
line 833 of /lib/table/classes/flexible_table.php: call to submissions_table->col_status()
line 84 of /lib/table/classes/sql_table.php: call to core_table\flexible_table->format_row()
line 227 of /lib/table/classes/sql_table.php: call to core_table\sql_table->build_table()
line 908 of /mod/kalvidassign/renderer.php: call to core_table\sql_table->out()
line 221 of /mod/kalvidassign/grade_submissions.php: call to mod_kalvidassign_renderer->display_submissions_table()

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/moodle45/local/kaltura/locallib.php on line 241

  1. Once work has been graded, from the Kaltura assignment grading window:
  • Invalid event functions defined in \mod_kalvidassign\event\grade_submissions_page_viewed
    line 275 of /lib/classes/event/base.php: call to debugging()
    line 64 of /mod/kalvidassign/grade_submissions.php: call to core\event\base::create()
    user_picture::fields() is deprecated. Please use the \core_user\fields API instead.
    line 152 of /lib/classes/output/user_picture.php: call to debugging()
    line 865 of /mod/kalvidassign/renderer.php: call to core\output\user_picture::fields()
    line 221 of /mod/kalvidassign/grade_submissions.php: call to mod_kalvidassign_renderer->display_submissions_table()

  • Deprecated: Optional parameter $groupfilter declared before required parameter $perpage is implicitly treated as a required parameter in /var/www/html/moodle45/mod/kalvidassign/renderer.php on line 719

Deprecated: Optional parameter $filter declared before required parameter $perpage is implicitly treated as a required parameter in /var/www/html/moodle45/mod/kalvidassign/renderer.php on line 719

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions