Infinite redirects at front end if logged in user is not an Admin (Toolset Access)

So the problem was in the plugin. I had to set the read privilege for the user. But I was not really able to debug it. I just was trying around. I wish I could understand to step by step debug those type of problem for future problems.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)