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.

6 COMMENTS

  1. I simply want to tell you that I am newbie to blogs and really enjoyed this page. Almost certainly I’m going to bookmark your website . You actually come with amazing article content. Kudos for sharing your web-site.

  2. I’m impressed, I must say. Actually rarely must i encounter a weblog that’s both educative and entertaining, and let me tell you, you may have hit the nail for the head. Your notion is outstanding; the pain is something that not enough individuals are speaking intelligently about. My business is happy we found this at my seek out something regarding this.

  3. Hi thank for this post, I will come the topic trying to find an inspiration or else an motivating information. Significant topic, express gratitude for sharing. Roberta

LEAVE A REPLY