【发布时间】:2016-12-29 17:03:51
【问题描述】:
我正在使用 laravel- 做一个中等项目很长时间了,当然我使用框架 -laravel- 的调试器,但是现在我有时会看到错误页面,但是有只是“哎呀,没有错误”,没有任何错误说明,我在 ajax 请求中看到了很多,但我只是实现了页面并且它消失了!
最后错误再次出现,我可以在终端中看到它,命令tail down here
这是我得到的
[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)
我在 github 上找到了这个,它帮助了 https://github.com/orchestral/testbench/issues/93
【问题讨论】:
标签: laravel laravel-5.2