Hi there,
I have an issue with a course that does not exist. I need to ask a couple of questions please:
On the help page it says: "To fix this problem, try running Cron repeatedly until you see the message "Running clean-up tasks..." near the top of the output."
- Does cron renumber the courses to remove deleted courses? (not normal practice but I need to ask)
- Using $course = get_course($row->courseid); I can't seem to catch the error with:
if (!$course) {
some code
}
How can I catch the error?
Cheers
Dave