Critical Error in ERPNext (Can't access account - notification not found)

Hello for all…
So I was trying to delete a user, so I deleted all the notification settings to be able to do that except for the Administrator. Now, none of the employees can access their accounts.
How can I resolve this issue…?