Posts made by Jerry Lau

Yes.. I do have this in dev/test platform.. I just want to know which tables are referenced and how do I 'delete' or complete the process for such matters/situations if another error comes up with for another plugin.

I believe that the error is with the ALLY by Blackboard plugin

...
#2 /our/moodle//course/lib.php(1185): tool_ally_pre_course_module_delete(Object(stdClass))
#3 /our/moodle//course/classes/task/course_delete_modules.php(66): course_delete_module('791661')
#4 /our/moodle//lib/cronlib.php(185): core_course\task\course_delete_modules->execute()
#5 /our/moodle//lib/cronlib.php(74): cron_run_inner_adhoc_task(Object(core_course\task\course_delete_modules))
#6 /our/moodle//admin/cli/cron.php(61): cron_run()





ran it without the other 2 options using --execute and got this

Server Time: Fri, 26 Apr 2019 09:41:01 -0700
Execute adhoc task: core_course\task\course_delete_modules
... started 09:41:01. Current memory use 10.8MB.
... used 350 dbqueries
... used 2.9677941799164 seconds
Adhoc task complete: core_course\task\course_delete_modules
Ran 1 adhoc tasks found at Fri, 26 Apr 2019 09:41:01 -0700

However when I query the adhoc_task table, they are still there...

I think the regular cron log I created gave me more "hints" as there seems to be something in that activity that caused it to fail via cron.php tasks

My problem now is how to find the error and how to fix it using the cryptic code shown "fix by programmer"...

call me puzzled


what do those customdata represent/mean?

for example:


{"cms":{"794211":{"id":"794211"},"794212":{"id":"794212"},"794213":{"id":"794213"},"794214":{"id":"794214"}},"userid":"138658","realuserid":"138658"}         


Can I just go to the course_module and delete that record entry and that would clear it out so the teacher no longer sees them still, and the onscreen message “Activity Deletion in progress”  would disappear?. It’s been in that state for days.

How can I permanently delete an activity tied to a course and section properly via backend or workaround?

Thanks