I have made project with laravel 5.5 and when upload it to my website (free host)
I have this error
Whoops, looks like something went wrong.
(1/1) RuntimeException The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths
I edited theses files
.env
index.php
config/app.php
config/database.php
and before i upload it i run this command
php artisan key:generate
after all of this still not working
any help plz ?
problem solved with the following steps:-
edit config/app.php
change
'key' => env('APP_KEY'),
to
'key' => env('APP_KEY','mykey'),
mykey = key in .env file