I have a project built with Laravel 9 and hosted on hostinger. Website is not loading and I cannot see error neither in laravel.log file nor on front end html page
I tried adding app debug true in .env file but its not working
>Solution :
You need to enable displayErrors and logErrors in PHP Configuration option for hostinger if that’s not enabled.
Go to Websites -> Advanced (PHP Configuration) option and there will be a tab labeled as PHP Options. Look for displayErrors and logErrors checkbox and enable both of those. It will show error on front-end and will log them too.
I had faced same error.
For reference look into this article. It solves this issue:
https://support.hostinger.com/en/articles/4259219-how-to-display-php-error-messages