Question: how to fix an unexpected error has occurred lol?
Answer: Press Alt+F4 on the client and click "sign out" not "exit".
Press Ctrl + Shift + Esc to open Task Manger and close all instances of RiotClientServices.exe and all instances of LeagueofLegends.exe.
Reopen the League of Legends (or Riot Games!) Client and log in again.