I'm new to laravel, My commands of PHP artisan
were working fine in localhost
.
When i shifted my project to live server the commands stopped working and gives me following error:
Warning: require(): Invalid date.timezone value 'GST', we selected the timezone 'UTC' for now. (I fixed this by defining my timezone) Parse error: syntax error, unexpected '?' laravel/framework/src/Illuminate/Foundation/helpers.php on line 500
There are actually no errors the project is working fine,My PHP version is 7.2.10
.
I'm inside the directory where PHP artisan is installed but of no use.
I hope I have to clear the cache but how can I clear cache when my artisan commands are not working?
Any ideas?