Debugging HTTP Error 500 in Laravel
How can I see what's wrong when I have an HTTP error 500?
To diagnose server or code issues causing a 500 error, modify your environment configuration file. Change the debug setting in /.env by setting APP_DEBUG=true:
APP_DEBUG=true
Enabling this option will display detailed error information, allowing you to identify and resolve the underlying problem.