I'm working on a project in php/laravel. I've had no issues til, now. When I run the "php artisan serve" command I get the following error message:
In RouteCollection.php line 236:
syntax error, unexpected 'OPTIONS' (T_STRING)
I did not change anything here, I did not change the route file, either. I have tried switching branches and I get the same error message. I have tried running "Composer update" command and I get the following error message:
Loading composer repositories with package information Updating dependencies (including require-dev) require-dev) Nothing to install or update Writing lock file es Generating optimized autoload filcripts::postAutoloadDumpes -ansi
Illuminate\Foundation\ComposerSver --ansi handling the post-autoload-dumpcripts::postAutoloadDump @php artisan package:discover --ansi Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1load-dump event returned with error code 1
In RouteCollection.php line 236:
syntax error, unexpected 'OPTIONS' (T_STRING)
Any ideas? Quitting php/laravel is not an option either.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire