Laravel 5 Installation - Runtime exception in compiled.php line 6911

Posted 4 years ago by penguinfeet

Hi guys,

I ran a fresh install of a Laravel 5 project and I am trying to get it set up with Homstead. However, it is giving me the below error (about the cipher/key). I went into the .env file and changed the app key = to the default one (AES-256-CBC), but still not working. Do you have any idea what might be happening? Thank you!

Whoops, looks like something went wrong.

1/1 RuntimeException in compiled.php line 6911: No supported encrypter found. The cipher and / or key length are invalid. in compiled.php line 6911 at EncryptionServiceProvider->Illuminate\Encryption{closure}(object(Application), array()) in compiled.php line 1057 at Container->build(object(Closure), array()) in compiled.php line 1010 at Container->make('encrypter', array()) in compiled.php line 1537 at Application->make('Illuminate\Contracts\Encryption\Encrypter') in compiled.php line 1102 at Container->resolveClass(object(ReflectionParameter)) in compiled.php line 1086 at Container->getDependencies(array(object(ReflectionParameter)), array()) in compiled.php line 1072 at Container->build('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1010 at Container->make('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1537 at Application->make('App\Http\Middleware\EncryptCookies') in compiled.php line 9400 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2659 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9400 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9390 at Pipeline->then(object(Closure)) in compiled.php line 1999 at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1985 at Kernel->handle(object(Request)) in index.php line 54

Please sign in or create an account to participate in this conversation.