Jesús Amieiro

Larevel error. The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths

If you are installing a new Larevel project and you get this error in the navigator

RuntimeException in compiled.php line 13506:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

This is because you haven’t created the APP_KEY in the .env file.

If you see the .env file content you see

APP_KEY=

You have to execute this command to update the APP_KEY value

php artisan key:generate

If you check the .env file content, now you can see the new APP_KEY value

APP_KEY=base64:xFQiUz/QvVj/JRmARS1OVhNVhnNWO/+6/QyThdn593M=
Exit mobile version