Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dkcloud13's avatar

how to show error details

Hi. pls help how to show error details in laravel? I wanna export data to excel and pdf but error happen -> error 500 server error. I have set debug = true but nothing, I also have check storage/log but no current time issue. I really need error details info before I continue to fix it. Thanks!

0 likes
2 replies
tisuchi's avatar

@dkcloud13 Have you checked in the error log? Usually, it is in storage/logs/laravel.log.

1 like
AddWebContribution's avatar

Make sure the storage permission to 775 and also make sure the permission for web server user And then try with increased memory and execution time and also disable composer autoload optimization. And then check in storage/logs/laravel.log file

Please or to participate in this conversation.