Level 67
Turn on debug temporarily in your prod env and refresh the page to see what is erring.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
it is laravel 6.2 and recently installed it to a shared host and I'm getting the error:
Syntax error, unexpected '?' in illuminate/Foundation/helpers.php on line 500.
I also have php 7.3 so I'm not sure what might be going on. I doubt it could be the env file because it is trying to load the default welcome screen of laravel.
Turn on debug temporarily in your prod env and refresh the page to see what is erring.
Please or to participate in this conversation.