It is Laravel 5.4 setup of my web app. one thing is happening repeatedly on page load. and because of that, I am not able to get data on my page.
Runtime exception: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
Got this error repeatedly
I would be thankful for any help.
答案 0 :(得分:14)
I think you should try this
run this command
php artisan key:generate
and the clear config cache using
php artisan config:cache
答案 1 :(得分:3)
Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:
php artisan key:generate
答案 2 :(得分:1)
Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.
php artisan key:generate
答案 3 :(得分:0)
答案 4 :(得分:0)
我遇到了相同的错误
运行此命令
php artisan key:generate
然后这个命令
php artisan config:clear