Laravel缓存存储不支持标记 [英] Laravel cache store does not support tagging
问题描述
由于在身份验证路由上安装了 Zizaco \ Entrust ,因此我收到此错误.
I am getting this error since I installed Zizaco\Entrust on my Authentication Routes.
BadMethodCallException: This cache store does not support tagging.
我鲜为人知,并且不得不更改一些配置选项,这就是我收到此错误的原因.
I had few known issues and I had to change some config options and that is the reason I am getting this error.
此错误与什么相关,因此我可以找到问题并解决,而不是查找修改过的代码?
What does this error relate to so that I can find the problem and fix it instead of finding the code I modified?
谢谢
推荐答案
缓存标签. Entrust 软件包可能在某处使用它们.例如,如果将其更改为 array , memcache 或 apc ,您应该没问题.
Cache tags are not supported when using the file or database cache drivers. The Entrust package probably uses them somewhere. You should be ok if you change it to array, memcache or apc for example.
https://laravel.com/docs/5.2/cache#cache-tags
这篇关于Laravel缓存存储不支持标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!