「自学哈网」如何解决BadMethodCallException with message ‘This cache store does not support tagging.’错误提示
也想出现在这里?
联系我们吧
如何解决BadMethodCallException with message ‘This cache store does not support tagging.’错误提示
要测试laravel torann/geoip扩展包,运行tinker测试,出现以下错误:
BadMethodCallException with message ‘This cache store does not support tagging.’
根据提示信息我们判断应该是cache的配置问题
把.env 里的 CACHE_DRIVER 改成
将代码:
CACHE_DRIVER=file
修改为:
CACHE_DRIVER=array
清理缓存
php artisan cache:clear
重新测试结果正常。
本站声明:
本站所有资源来源于网络,分享目的仅供大家学习和交流!如若本站内容侵犯了原著者的合法权益,可联系邮箱976157886@qq.com进行删除。
自学哈专注于免费提供最新的分享知识、网络教程、网络技术的资源分享平台,好资源不私藏,大家一起分享!
自学哈网 » 「自学哈网」如何解决BadMethodCallException with message ‘This cache store does not support tagging.’错误提示
本站所有资源来源于网络,分享目的仅供大家学习和交流!如若本站内容侵犯了原著者的合法权益,可联系邮箱976157886@qq.com进行删除。
自学哈专注于免费提供最新的分享知识、网络教程、网络技术的资源分享平台,好资源不私藏,大家一起分享!
自学哈网 » 「自学哈网」如何解决BadMethodCallException with message ‘This cache store does not support tagging.’错误提示
也想出现在这里?
联系我们吧