-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error page showing only the whoops thing even if the debugger is on #17026
Comments
Please set an encryption key. |
the app is working fine and I did key:generate once; but still seeing that error from time to time |
@siempay I would guess that you have no run "php artisan config:cache". That's required in some scenarios; the default Apache configuration on Windows is one of those scenarios. |
@sisve thanks man! Do I have to run it from time to time ? Can you explain me more what are these scenarios please |
@siempay Always do it during deploys. Always do it when you have one process executing several php requests. (Apache on Windows does this per default.) This is one of those public secrets; it's known but not clearly documented. |
Description:
the error shows up randomly and sometimes on ajax requests returning 500, when i use the dev tools of chrome to see the error, it gives me only the whoops but after I used
tail -f storage/logs/laravel.log
I got this
[2016-12-28 14:54:04] production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in D:\shop\tess\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:45 Stack trace: #0 D:\shop\tess\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(25): Illuminate\Encryption\EncryptionServiceProvider->getEncrypterForKeyAndCipher(NULL, 'AES-256-CBC') #1 D:\shop\tess\vendor\laravel\framework\src\Illuminate\Container\Container.php(731): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array)
Steps To Reproduce:
Why am I seeing this errors ? and how to escape from it for ever
The text was updated successfully, but these errors were encountered: