Since updating to 5.6 I have regularly had the message "an internal error has occurred: db statement finalised twice". On earlier occurrences, I have clicked the box, and the message has gone away. I have optimised the catalogue, but that doesn't help.
The latest occurrence was when I was exporting 150 photos. The message popped up, and I cleared it, then it came again, and again.... It was obvious that it was going to do it 150 times, so I had to kill LR.
Anyone any ideas or solutions?
I hate that error.
It doesn't happen that often, but the only solution when it does is to restart Lightroom.
Sorry - I have no idea what causes it, other than "it's due to a bug"..
Rob is probably more knowledgeable than I am, but I'd check the LR catalog before doing anything else, just in case.
Go to Edit menu, catalog settings, and set back-up to "When lightroom next exits", and make sure you check the option to test integrity.