geoip调用出现错误This cache store does not support tagging.

laravel5.7项目中需要获取用户的location信息,安装了torann/geoip,调用geoip($request->ip())时出现错误local.ERROR: This cache store does not support tagging.

原因:.env文件CACHE_DRIVER=file,文件驱动不支持标记

解决:修改为CACHE_DRIVER=array

点赞