You just got dumped by your life partner. You are experiencing immense mental pain, and maybe even physical pain. That is normal. In fact, if you had no reaction to being dumped by your life partner, you may have deeper problems.
It's possible that the breakup is making you more pessimistic about your PhD. How were you feeling about your PhD before the breakup?
Here are some optional suggestions. Try Tinder. Try psilocybin. Try standup comedy. Try going to another country (and live cheap if needed). Try being an Uber driver. Try a crazy hairstyle. Be creative.