It is usually an error associated with an out-of-date OS. Try updating your OS like OmegaStarScream suggested. If that doesn't help try this, maybe it will sort out your problems:
I had similar problem due to corrupt wallet save. Move your wallet files to a temp folded and reopen electrum. It will default to creating a default wallet, which you can do or direct it to a known good wallet.