Error when i deploy to server
Error:
Generating optimized autoload files
> post-install-cmd: php artisan clear-compiled
PHP Parse error: syntax error, unexpected '?' in /###/releases/1/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
Script php artisan clear-compiled handling the post-install-cmd event returned with error code 255
php -v PHP 7.1.10
php -l src/Illuminate/Foundation/helpers.php
No syntax errors detected in src/Illuminate/Foundation/helpers.php
Are you sure you are using php 7+?
This repo is for bug tracking. Use the forums or slack channel for solving your issue
As Dylan said here is not the place for such issues, but anyways...
You are not using PHP 7 that is for sure.
Thank for your replies. I resolved my issue. I will post to forum if i have next issue 馃槃