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

Failing Ad-Hoc task on Moodle 3.7 #9

Open
aspark21 opened this issue Jul 31, 2019 · 4 comments
Open

Failing Ad-Hoc task on Moodle 3.7 #9

aspark21 opened this issue Jul 31, 2019 · 4 comments

Comments

@aspark21
Copy link

Moodle 3.7.1
Master branch

Adhoc task failed: core_course\task\course_delete_modules,Coding error detected, it must be fixed by a programmer: The course module 1108455 could not be deleted. #0 /pathtomoodle/mod/collaborate/classes/sessionlink.php(335): moodle_database->get_in_or_equal(Array)

#1 /pathtomoodle/mod/collaborate/classes/sessionlink.php(376): mod_collaborate\sessionlink::attempt_delete_sessions(Array)

#2 /pathtomoodle/mod/collaborate/lib.php(158): mod_collaborate\sessionlink::delete_sessions('2007')

#3 /pathtomoodle/course/lib.php(1150): collaborate_delete_instance('2007')

#4 /pathtomoodle/course/classes/task/course_delete_modules.php(66): course_delete_module('1108455')

#5 /pathtomoodle/lib/cronlib.php(272): core_course\task\course_delete_modules->execute()

#6 /pathtomoodle/lib/cronlib.php(155): cron_run_inner_adhoc_task(Object(core_course\task\course_delete_modules))

#7 /pathtomoodle/lib/cronlib.php(76): cron_run_adhoc_tasks(1564334682)

#8 /pathtomoodle/admin/cli/cron.php(61): cron_run()

#9 {main}

Backtrace:

  • line 272 of /lib/cronlib.php: call to core_course\task\course_delete_modules->execute()

  • line 155 of /lib/cronlib.php: call to cron_run_inner_adhoc_task()

  • line 76 of /lib/cronlib.php: call to cron_run_adhoc_tasks()

  • line 61 of /admin/cli/cron.php: call to cron_run()

@aspark21
Copy link
Author

Execute scheduled task: Clean up sessions task (mod_collaborate\task\cleanup_sessions_task)
... used 2 dbqueries
... used 0.55186700820923 seconds
Scheduled task failed: Clean up sessions task (mod_collaborate\task\cleanup_sessions_task),Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty array

@aspark21
Copy link
Author

aspark21 commented Mar 17, 2020

Great to see the complete lack of interest in resolving this @jgg9026

@MURBASLMS
Copy link

Hi, has anyone resolved this? we still get the error, i suspect because older courses have been restored into moodle with soap remnants. Any way to clean this up as this task keeps failing - cheers

@MURBASLMS
Copy link

on 3.9 branch btw

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

No branches or pull requests

2 participants