No supported encrypter found. The cipher and / or key length are invalid.

Vincent Shen posted 11 months ago

Although it has been asked for many times, but the error still exists after I followed the answers:

  1. set 'cipher' => 'AES-256-CBC',

  2. php artisan key:generate

  3. pasting the new key to env file at APP_KEY

  4. It also shows that mcrypt is enabled in phpinfo.

This is a project created by another developer. I got the source code from git and the developer sent me the env file.

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us