production.ERROR 'RuntimeException 500,怎么解决?
我在使用post提交头像图片进行调试时,突然报错500,
然后无论访问路由是什么总是报错:
用审查元素:
laravel.log报错是:
[2017-06-28 07:17:04] production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in E:\phpStudy\170220\WWW\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:45
Stack trace:
0 E:\phpStudy\170220\WWW\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(25): Illuminate\Encryption\EncryptionServiceProvider->getEncrypterForKeyAndCipher(NULL, 'AES-256-CBC')
...
10 E:\phpStudy\170220\WWW\public\index.php(58): Illuminate\Foundation\Http\Kernel->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response))
11 {main}
由于对laravel研究不深,我此时不知道该怎么做了,所以请教大家,希望有遇到相同错误的可以给我个方法。
推荐文章: