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)
I'm using php 7.1.3 and laravel 5.8.
Any ideas? Quitting php/laravel is not an option either.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2SpN9d2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire