My application works great. But if I happen to make a request several times throughout, either ajax or randomly pages, I get the following error:
local.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in C:\wamp\www\application\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:29
This happens randomly and in both local and production environments.
My current setup:
'key' => env('APP_KEY', 'SomeRandomString'),
'cipher' => 'AES-256-CBC',
.env file includes: APP_KEY=eyckMXzoR8AeurnkpBBQ8k2Ryp0zo21l
I've tried: php artisan key:generate
but the problem still continues. Has anyone else had a similar issue?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28Xh2uM
via IFTTT
Aucun commentaire:
Enregistrer un commentaire