by Mary Cooch.
Hi there. I haven't looked at your source code (as I can't read code)but I wonder if you are backing up and restoring the same course several times? There has been a similar issue with multiple guest access when courses have been backed up and restored so I was just wondering.