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

Cannot delete a course created from a template, using the LTI-Advantage version of the plugin #17

Open
perllaghu opened this issue Jun 27, 2023 · 0 comments

Comments

@perllaghu
Copy link

I go to admin, courses, find the course, click on the "bin" icon... and get the following output;

Deleting edi-ct_DevTest
Deleted - Completion tracking
Deleted - Grades, Items, Categories 
Deleted - Outcomes 
Deleted - Scales 
Deleted - Settings 
Deleted - Letters 
Deleted - Blocks 
Deleted - Forum 
Deleted - Activity modules 
Deleted - Questions 
Deleted - Content bank

Table "enrol_ct_tool_cons_map" does not exist
[More information about this error](https://docs.moodle.org/401/en/error/moodle/ddltablenotexist)

Debug info:
Error code: ddltablenotexist

Stack trace:
    line 673 of /lib/dml/moodle_database.php: dml_exception thrown
    line 1349 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
    line 179 of /enrol/lticoursetemplate/lib.php: call to moodle_database->get_recordset()
    line 1178 of /lib/enrollib.php: call to enrol_lticoursetemplate_plugin->delete_instance()
    line 5290 of /lib/moodlelib.php: call to enrol_course_delete()
    line 5069 of /lib/moodlelib.php: call to remove_course_contents()
    line 68 of /course/delete.php: call to delete_course()
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

1 participant