scrivener 1.9.7.0 windows is creating two epub opf files

Scrivener 1.9.7.0 windows is creating two epub opf files.

If I compile to Epub then run through kindle preview I get an error “Epub file has more than one opf file”

Everything was working fine until last night. Now every Epub file I compile has this error.

Anybody know a fix for this?

Actually scrivener wont create a backup file either. Gives me an error.

What happens if you open the epub file and remove one of the opf files? Does the epub file work then?

My user file was corrupt.
Not sure why it caused this problem.