Skip to content

Simple IP lookup generates error #34

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

Closed
simplenotezy opened this issue Sep 16, 2015 · 3 comments
Closed

Simple IP lookup generates error #34

simplenotezy opened this issue Sep 16, 2015 · 3 comments
Assignees
Milestone

Comments

@simplenotezy
Copy link

simplenotezy commented Sep 16, 2015

I get the following error:

 Missing argument 2 for Alexpechkarev\GoogleGeocoder\GoogleGeocoder::geocode(), called in /home/vagrant/Projects/athliit/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 210 and defined

When I try to do:

Geocoder::geocode('my-ip-address');

With my config looking like so:

<?php

return [
    // Providers get called in the chain order given here.
    // The first one to return a result will be used.
    'providers' => [
        'Geocoder\Provider\FreeGeoIpProvider'  => null,
    ],
    'adapter'  => 'Geocoder\HttpAdapter\CurlHttpAdapter',
];
@zanematthew
Copy link

I don't see this as an issue reference an old issue #13 with that address it works as expected.

@zanematthew
Copy link

Recently updated my GitHub notifications settings, must say I do enjoy messages showing constant issue pruning :)

@mikebronner
Copy link
Member

I'm trying :) hehe

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

3 participants