vluzrmos / laravel-language-detector

Detect the language for your application using browser preferences, subdomains or route prefixes.
108 stars 25 forks source link

Undefined method Illuminate\Cookie\Middleware\EncryptCookies::disableFor() #15

Closed blitss closed 6 years ago

blitss commented 8 years ago

Whoops, looks like something went wrong.

1/1 FatalErrorException in LanguageDetectorServiceProvider.php line 93: Call to undefined method Illuminate\Cookie\Middleware\EncryptCookies::disableFor() in LanguageDetectorServiceProvider.php line 93


How solve it? Laravel 5.0, php 5.6

vluzrmos commented 8 years ago

The quickly solution is disabling the cookie feature,

LANG_DETECTOR_COOKIE=false

Later I will try to find a better solution.