It appears you might have an issue with the database but glad to see that it did at least delete. Is it possible that this quiz was using an additional question type that is no longer available? I would see if you add a quiz to this course, can you then delete it normally? If that works correctly, I would probably right it off as something corrupted with just that quiz..
Quiz
Cannot delete test from Moodle course
This discussion has been locked so you can no longer reply to it.