-
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 resource error in "Default activity completion" #426
Comments
Is this the same issue as #396 perhaps? |
This error should have appeared in a previous version of the plugin, an attempt was made to solve it (the code of the version that I indicate, which is the latest available on moodle.org, is different), but in version 4.3 of Moodle, on the configuration page What I indicated, it still doesn't work. In line 41 and 42 of the file mod_form.php, the code is :
|
Speaking of "side effects"... When applying the change, and commenting on the line, the "Default activity completion" screen is displayed correctly, and the activity creation form can be accessed correctly... except for the "Restrict access" section. I have added an "if" in the code, to execute the line if it is in a course. If id is 1 (we are in the environment administration) the line is not executed. If it is different than 1 (we are in a course), we execute it.
Waiting for a better solution.... :-) Thanks! |
Hello,
Moodle version: 4.3.2
Kaltura plugin version: 2023100901
After installing the Kaltura plugin package, when accessing the "Default activity completion" page, the following error is displayed:
"Coding error detected, it must be fixed by a programmer: Cannot call moodle_page::add_body_class after output has been started."
If the "Kaltura resource" activity is disabled, the page loads correctly.
The path to the page is "Site Administration" -> "Courses" -> "Default settings" -> "Default activity completion"
Greetings and thanks
Jaume R.
The text was updated successfully, but these errors were encountered: