Skip to content
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

Support for both Country and City database for MAXMIND GeoIP2 #221

Open
NilsBohr14 opened this issue Nov 15, 2022 · 0 comments
Open

Support for both Country and City database for MAXMIND GeoIP2 #221

NilsBohr14 opened this issue Nov 15, 2022 · 0 comments

Comments

@NilsBohr14
Copy link

Right now there is only support for city Database for MAXMIND GeoIP2. A config for choosing any of those option would be much appreciated and versatile. This exception occurred when a country database is used.

BadMethodCallException {#1783 ▼
  #message: "The city method cannot be used to open a GeoIP2-Country database"
  #code: 0
  #file: "/var/www/vendor/geoip2/geoip2/src/Database/Reader.php"
  #line: 254
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant