Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Undefined property: stdClass::$latitude /Geoip/Ipstack.php #19

Open
koriss opened this issue Dec 29, 2018 · 3 comments
Open

Undefined property: stdClass::$latitude /Geoip/Ipstack.php #19

koriss opened this issue Dec 29, 2018 · 3 comments

Comments

@koriss
Copy link

koriss commented Dec 29, 2018

Catch this error and cant fix, what wrong?

  • Homestead
  • Laravel 5.7

ErrorException (E_NOTICE)
Undefined property: stdClass::$latitude

/home/vagrant/code/laravel/vendor/voerro/laravel-visitor-tracker/src/Geoip/Ipstack.php

 public function latitude()
    {
        return $this->data->latitude;
    }
@bloodyburger
Copy link

+1

1 similar comment
@benguyucel
Copy link

+1

@o-ayoub
Copy link

o-ayoub commented Feb 23, 2019

Hello,
@koriss
@orangethakkali

To solve this, you should have an access key to api. see more info here: https://ipstack.com/documentation

once you have a valid key, you can add it in config/visitortracker.php at line 128
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants