Thanks for the response. It’s not any of those issues as this is a localhost on my personal computer. As I mentioned, I can run duplicator on other sites on my local computer just fine, it’s just this site in particular. So it must be something unique that is messed up in the database or a fluke thing.
I ended up giving up and just doing it the old fashioned way by exporting/importing the database manually. But it is still really strange and I hope I don’t run into it again. This is the first time this has ever happened locally after hundreds of successful runs.
Tom, strangely enough that was it! If I move the lines to the start of the file it works just fine. I previously had them at the end of the file. Thanks for looking into it.