Laravel 5.4 : The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths

前端 未结 5 1099
滥情空心
滥情空心 2021-01-06 03:00

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 e

相关标签:
5条回答
  • 2021-01-06 03:43

    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
    
    0 讨论(0)
  • 2021-01-06 03:46

    I think you should try this

    run this command

    php artisan key:generate
    

    and the clear config cache using

    php artisan config:cache
    
    0 讨论(0)
  • 2021-01-06 03:50

    i was getting the same error
    run this command
    php artisan key:generate
    and then this command
    php artisan config:clear

    0 讨论(0)
  • 2021-01-06 03:54

    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
    
    0 讨论(0)
  • 2021-01-06 03:54

    i was getting the same error.

    run this command.

    php artisan key:generate
    

    updated the app key in .env

    work for me

    you can take help from link

    0 讨论(0)
提交回复
热议问题