So we switched our app from CakePHP 2.8 to Laravel 5.8, by basically redoing everything from scratch. Everything looks and work great so far except for 500 Server Errors we face once in a while, we fix them as and when we notice them.
The only concern is that it ends the user session and doesn't let them proceed. We use Rollbar for bug monitoring and it isn't reported there either and we don't know about it unless someone points the issue to us.
Is there anything we could do to fix this problem?