-
Notifications
You must be signed in to change notification settings - Fork 372
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
Possible bug #142
Comments
I'm also getting that sometimes |
We experience this error also frequently. @zgelici can you make a pull request containing your fix? |
I did it |
I think the solution needs to be worked out further because the code after this condition also relies on the content of the $json variable. Did you look at that part? |
You are right, the other part need to be also inside $json check, but than its possible that the api or something gives empty results. What effect it will have. |
@lamalamaMark can you check now the new pull request its possible that requests or something fails, so i did multi tries. if not it give empty. i didnt test it and its late here. tomorrow evening i will check my code again. but i already did push. |
I have same problem, sentry always alarm it. |
Same situation with sentry, but this is happening after update from Laravel 5.8 to 6.0 |
@lamalamaMark the fix of @zgelici its very useful why dont accept that PR? |
Hi guys! I have te same problem. Did you find the solution? |
I just had the same problem today.
While the PR proposed solves the problem with the non-object error it does not solve the problem of going above the limit on a non-paid environment. |
same error |
Hi,
I get an issue with a part of code. i did some checks.
vendor\torann\geoip\src\Services\IPApi.php
Line 74 gives notice:
Notice: Trying to get property 'status' of non-object
current code:
i think this will solve it:
I get the issue when i call this:
geoip()->getLocation($ip)['country']
i dont get the notice everytime.
The text was updated successfully, but these errors were encountered: