mercredi 6 avril 2016

PHP artisan return Undefined index: HTTP_USER_AGENT

I tried to run php artisan in a project folder using Command Prompt. However, this error keeps popping up:

  [ErrorException] 
  Undefined index: HTTP_USER_AGENT

Running the same command in other projects' folder (With Laravel 4.2 and 5.1) worked fine.

From what I've read on Laracast: any service providers need to be commented out. However, in this particular project I don't have any.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire