-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This cache store does not support tagging. #4
Comments
Hi, I am not aware that this package used the cache. Are you sure it's not something else which is causing this error? This usually happens when you try and use something which ads tagging to cache but you have your cache settings to use file (which does not support tagging). I usually just use Redis for caching which solves this issue. James |
I'm getting this issue as well. It looks like it's being caused by something in the Here's the full error log:
And my cache.php config is setting the |
I've found that there is a 'cache_tags' => ['torann-geoip-location'], To this: 'cache_tags' => null, It stops the error being thrown. I'm not sure if this is a good way of doing it, but it's a temporary fix at least. |
ah, yes! I should probably have included a little more detailed information about the underlying package which does the timezone lookup! I rely on the By default, Laravel will use the 'file' cache driver (https://github.com/laravel/laravel/blob/master/config/cache.php#L21) but this does not support tagging (https://laravel.com/docs/5.8/cache#cache-tags). As @GreenImp has suggested the best thing to do is to publish the
and then update the cache_tags to
The only thing that this will prevent you from doing is being able to flush the cache and delete only those cache items linked to the geopip lookup. |
I have updated the README with some additional information around this. Thank you. |
Fab, thanks for the explanation as well. |
I found that changing |
This cache store does not support tagging.
The text was updated successfully, but these errors were encountered: