Closed jmayermsi closed 5 years ago
I've got a screenshot here of where the link should be located. This is on a category page, URL like <mymoodle>/course/index.php?categoryid=<categoryid>
. You can get to a category page on your own site by manually entering this URL, or by following the main course navigation.
(screenshot blurred because it's from our internal Moodle)
Please check for the link here, and if you still cannot see it, we can troubleshoot further.
Thanks for posting, unfortunately, my screen doesn't display like this. I think the theme is causing the issue. Even when I use the URL schema you posted there is no method to do this. Initially, I assumed you could access from the Manage Courses section in the admin but it's not listed there either.
Hm, ok. Would it be possible for you to post or message me a screenshot of what you are seeing?
Clicking the gear doesn't show your link
Your screenshot includes gear icons for individual courses. You need the gear icon for the whole category rather than one individual course. It's difficult for me to direct you there without knowing your theme -- could you add a screenshot of the whole page?
That's actually the point I was trying to make, this theme (remui) doesn't list the categories, only the courses. The only way I can see the categories is inside the manage categories and courses section of the admin.
Hmmm. I see. It's unfortunate that RemUI has chosen to hide the category navigation -- I would be inclined to report that to them as a bug/degradation, since it's a major piece of navigation that they're hiding from the user.
Obviously that doesn't help you in the short term, though. For a workaround, I think you should be fine just manually going to the URL for the deletion page: <mymoodle>/admin/tool/deletecourses/delete.php?category=<categoryid>
Please let me know if that works for you :)
Perfect, thank you for that link, that will work. Thanks for your help, just need to see if the cron job removes the courses
Glad I could help.
After running a delete of a category I got this error:
Exception - Argument 1 passed to course_in_list::__construct() must be an instance of stdClass, null given, called in [dirroot]/lib/coursecatlib.php on line 1559
I don't see any courses in the category but when I view the category this error displays
What version of Moodle are you using?
3.41
It may be working, the classes periodically show in the category. I can see some have been deleted. WHen I refresh the category the error message is intermittent with the list of classes.
Courses look they are deleted now, but when they are in the process of being deleted the categeory displays that error when viewing the category
@jmayermsi It sounds like you're encountering the caching issue described in #6.
Yes this is the issue, eventually, the errors are resolved.
After installing the plugin I am unable to find the link even after following the instructions listed here. Is there an alternative method to delete using your module?