-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kaltura media assignment errors #422
Comments
Also the following on the grade submissions page: Invalid event functions defined in \mod_kalvidassign\event\grade_submissions_page_viewed
user_picture::fields() is deprecated. Please use the \core_user\fields API instead.
Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/mod/kalvidassign/renderer.php on line 214 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/local/kaltura/locallib.php on line 241
The call to get_string is incorrect in renderer.php:369. I needs the component argument; either 'grades' for Moodle core lang pack or 'kalvidassign' for KVA lang pack. |
Just want to put a little context to this error. These functions had been deprecated completely in Moodle 4.3 on:
See https://github.com/moodle/moodle/blob/v4.3.4/lib/classes/event/base.php#L270-L276 They should be removed from all kaltura's classes. |
The "Invalid get_string() identifier: 'grade' or component 'moodle'. Perhaps you are missing $string['grade'] = ''; in lang/en/moodle.php" is fixed by #434. |
Other pull request #436 for the Invalid event functions defined. |
Other pull request #433 for the Optional parameter declared before required parameter. |
Other pull request #437 for the nulls sent to preg_match() and strip_tags() |
Testing version Kaltura release 4.4.8 2023100901 of the plugins on PHP 8.1 with Moodle 4.3 and get the following errors:
Invalid event functions defined in \mod_kalvidassign\event\assignment_details_viewed
Deprecated: Optional parameter $groupfilter declared before required parameter $perpage is implicitly treated as a required parameter in /var/www/asulearn-test.appstate.edu/mod/kalvidassign/renderer.php on line 719
The text was updated successfully, but these errors were encountered: