YII2: I am getting 500 error while i logged out from backend

mydomain.com is currently unable to handle this request HTTP ERROR 500

This error i am getting after i logged out from backend. It is working fine on my localhost but problem is coming when site is live. What are the reasons of this kind of error.And there are no entries in my server error logs. I don’t know what is wrong. Please help thank you in advance.

Well, first thing to do in this case is to find logs and read em.