Encrypter->__construct('', 'AES-256-CBC')
in EncryptionServiceProvider.php (line 27)
app.php had key value 'base64:**' and 'cipher' => 'AES-256-CBC'.
But error message had key is empty.
How to fix it?

Any one help me.
Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
Can I suggest closing your issue ticket here? Instead try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:
Thanks in advance.
Most likely you are not setting APP_KEY correctly, so triple check .env, app.php and also bust config cache using php artisan config:clear.
Sorry, i am newbie in github. Any way thanks for your advise
Same issue here.
$crypt = new Encrypter(env('APP_KEY'), config('app.cipher'));
dd($crypt->encrypt('test'));
If i dd key and cipher they seems to be Ok. I regenerate and used a new key but same error.
php artisan key:generate --show
the same issue. php artizan key:generate is ok, but error still show.
php artisan key:generate
php artisan config:clear
Most helpful comment
Same issue here.
If i dd key and cipher they seems to be Ok. I regenerate and used a new key but same error.