Hmmmm… How recent is the error? If it’s not that recent you might still have a rather new backup with a working database.
Under File>Switch Profile>Open Backup...
you can look at older versions of your database.
If the error is older you would lose quite a bit of progress so I would only reccomend this method under certain, limited, circumstances.
Otherwise someone with more expertise might need to help you here.