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

Empty array for countries and languages #83

Open
carlosfusion opened this issue Jul 26, 2022 · 1 comment
Open

Empty array for countries and languages #83

carlosfusion opened this issue Jul 26, 2022 · 1 comment

Comments

@carlosfusion
Copy link

  • Windows 11
  • Laravel-visits 3.0
  • Laravel 9.11
  • PHP 8.1

Description

Im working with the follow command:
visits($card)->by($card->user)->increment();
But if i try to get countries it always return an empty array
visits($card)->by($card->user)->countries();
Checking the database is saving countries and languages but both methods return empty array

@abdumu
Copy link
Member

abdumu commented Jul 28, 2023

i tried to reproduce the error but i couldnt, i'm getting countries and languages .. this might be related to geo package ..

i'll keep this open till someone else confirm it.

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

No branches or pull requests

3 participants