Found more than one record in fetch() ! Error

Re: Found more than one record in fetch() ! Error

by Алексей Буренко -
Number of replies: 1

Whoever found a solution to the problem, I have the same situation


In reply to Алексей Буренко

Re: Found more than one record in fetch() ! Error

by Ken Farrimond -
Picture of Plugin developers

We have had a similar issue and were unable to delete the problematic course. In the end we deleted records manually in the Moodle database

mdl_grade_items

and

mdl_grade_categories

deleted records related to the courseid of the problematic course. We could then delete the course.


The problem was caused by two users creating assignments in the same course at exactly the same time. How did we manage to do this you might well ask - I was talking through a new Moodle admin person on the phone who needed to create a copy of a course which had two assignments. So I was telling them what to put on all the sections and to save time they added one while I added the other!