Problem is every ajax call returns a server error 500. When I tried to debug I found out that everything goes fine right up to the point where Lumen uses my user model. There is no error log from lumen in storage/logs, so where to go now? I double checked the MySQL config (and was able to login from the server using the exact same credentials), checked out logs from PHP, MySQL en nginx, nothing strange going on as far as I could tell.