Go to the System → Logs → Error Log
A full log of every error or warnings your store experiences. Review the error messages in case of any problems or click Clear Log button to reset error log.
Disable error logging in System → Setting → System Tab. Find Log Errors setting.
In case you can not access admin you can locate error log directly in the file /system/logs/error.txt