moodle-tool_uploadcoursecategory
moodle-tool_uploadcoursecategory copied to clipboard
Error when updating category id
Hello,
I'm not sure if you are still working on this tool, but it is super helpful. However, when I tried to use version 2011091700 it to upload Category id numbers, I got the following error message with debug turned on:
Coding error detected, it must be fixed by a programmer: events_trigger() has been deprecated along with all Events 1 API in favour of Events 2 API.
More information about this error Debug info: Error code: codingerror Stack trace:
line 64 of /lib/deprecatedlib.php: coding_exception thrown line 508 of /admin/tool/uploadcoursecategory/index.php: call to events_trigger()
My Moodle version is 3.8.2.
Thanks.
Hi - I'm sorry, but I have not looked at this project for atleast 5 years, and I no longer work in the Moodle area. If you would like to create a patch to fix the problem, I'll gladly merge it. Cheers, Piers.
Piers,
Thanks for the response. I already fixed the issue for my server by just manually fixing my category idnumbers. I mainly documented this in case others run into the same issue. However, maybe someone will see this in the future and feel motivated to fix the error.
Best, Sharon