Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.

Home Page:http://lyften.com/projects/laravel-geoip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disabling cache_tags in config/geoip.php does not prevent BadMethodCallExeption

tyson-nw opened this issue · comments

I am using the file cache driver that doesn't support tags, so I commented out 'cache_tags' => ['torann-geoip-location'], in my config/geoip.php file but I still got BadMethodCallExeption This cache store does not support tagging. error.

I had do go into my vendor/torann/geoip/config/geoip.php and comment out the line as well and the exception went away.

Is there a better way of preventing tagging in the config/geoip.php file than commenting out the line? Could the comment be updated with that information since file is the default cache and it doesn't support tags?

I simply set it to null rather than comment it out, and it worked.

'cache_tags' => null,

Thanks! I set cache to 'none' and it still apparently tries to use the cache :|

@tyson-nw
Please comment two lines on file config/geoip.php

//    'cache_tags' => ['torann-geoip-location'],
//    'cache_tags' => null,

Last year, I tried and worked normally 🍡