Skip to content
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

Cannot load Default Activity Completion Site Admin page in Moodle Workplace #70

Open
jprovasnik opened this issue Mar 19, 2024 · 0 comments

Comments

@jprovasnik
Copy link

In my Moodle workplace 4.3 instance, I have been unable to load the Default Activity Completion page either at the Site Level or at the Course Level. After a few minutes attempting to load the page, the following message appears:
"QuickForm Error: nonexistent html element Element 'completionusegrade' does not exist in HTML_QuickForm::removeElement()
Backtrace :"

My Moodle Workplace host was able to debug and identify the issue was coming from the VideotTime plugin. They state the following and have requested I bring this to your attention so we can determine how to proceed:

"I was able to log in and recreate those errors. I've taken a look at this and identified an issue with mod_videotime which appears to be causing a memory leak that results in the form exceeding the maximum amount of memory available to PHP, even with no enforced limit. I've mitigated this issue by commenting out line 241 of this file, which appears to prevent the error from occurring, but this change will be overwritten if the code is redeployed or the plugin is updated. Additionally, I don't know what side-effects this change might have, or why specifically this line is causing the memory issue, just that removing it caused the issue to no longer occur. I would suggest connecting with the maintainer on this to see if they might have an idea here."

The file in reference is located here: https://github.com/bdecentgmbh/moodle-mod_videotime/blob/master/mod_form.php#L241

Please let me know if you have any thoughts or insights about the question/issue here. Thank you,

Default Activity Completion Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant