"The website encountered an unexpected error" right after login in
If you are not able to login then you can try checking the logged error directly looking into your database watchdog table.

In your case:As per our chat you were missing watchdog table so importing the database back helped you.