使用laravel时报错如下:
adMethodCallException: This cache store does not support tagging.
查询相关资料发现:
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.
小结:
laravel缓存的tags并不支持file与数据库缓存驱动,查看了一下.env配置文件
发现
CACHE_DRIVER
=file