WhatsApp Dekstop needed to restart because of a problem. [Fix]
One of the most common WhatsApp application errors is “WhatsApp Dekstop needed to restart because of a problem". This error appears when we try to authenticate the WhatsApp application on a computer with Windows or macOS using the mobile phone.
After installing WhatsApp for Mac or Windows PC, we must open the WhatsApp application on Android or iOS and scan the QR code to authenticate the application on the computer.
Unfortunately, the "WhatsApp needed to restart because of a problem" error cannot be solved by the user. This error generally occurs when the servers of the WhatsApp application are not working accordingly and most of the time the messages cannot be sent or received even from iPhone or Android. "Connecting..." appears on the phone in the WhatsApp application, a sign that it cannot connect to the servers.
In conclusion, when you encounter this error when authenticating with the QR code of the WhatsApp application on a Mac or Windows PC, check whether the mobile application is not functional as well.
Most of the time this error disappears by itself after a few minutes and everything returns to normal.