I tried the salvage option, but I keep getting an error message Method not found (code -32601). I'm not sure if I'm doing it correctly. What exactly do I type?
You did not read the link I gave you.
-salvagewallet is not a command that you enter into the debug console. It is a start up option (aka a command line option). You have to stop Bitcoin Core and then start it with that option. Read the instructions at the link I gave you.