Laravel 5: No supported encrypter found (Fixed)

Laravel 5: No supported encrypter found (Fixed)

SHARE

Just when you thought you just installed Laravel successfully and you get this error. No supported encrypter found. The cipher and / or key length are invalid.

No supported encrypter found2

 

Don’t panic, this happens when you install Laravel in your console and it did not produced the 32 characters key in your .env file in the root directory.

 

No supported encrypter found

 

To simply fix this problem, we need to instruct Laravel to generate the random key. In the console type the following code and hit enter.

 

After you invoke the code, you can check again your .env file and APP_KEY is not empty now.

No supported encrypter found2

 

Congrats your app will run now, and the error is fixed.

SHARE
Programmer, Database Designer and Administrator for Web Application. Who loves to read and write interesting topics.

LEAVE A REPLY