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

Error when running console command 'usercountry:attribute' to attribute past geo location data #9912

Closed
Maraumax opened this issue Mar 10, 2016 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@Maraumax
Copy link

Hello,

On piwik 2.16.0 i got this error when i tried to update user country :

PHP Fatal error:  Call to protected method Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations::onVisitProcessed() from context '' in plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php on line 120

Another user got this error. I just updated my geoip file.

@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Mar 10, 2016
@mattab mattab added this to the 2.16.1 milestone Mar 10, 2016
tsteur added a commit that referenced this issue Mar 10, 2016
@tsteur
Copy link
Member

tsteur commented Mar 10, 2016

Thank you for the bug report. I issues a fix for this and it should be fixed with the next update of Piwik. Meanwhile you could try to fix it by changing one word in file plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php on your server see https://github.com/piwik/piwik/pull/9915/files#diff-cd85f7dcd7b94984947e0cc41d8dbe19L148 .

@tsteur tsteur self-assigned this Mar 10, 2016
@Maraumax
Copy link
Author

Thanks @tsteur and @mattab for your work! I will try that tomorrow.

EDIT : 11/03 its now ok!

@mattab mattab changed the title Error on usercountry:attribute Error when running console command 'usercountry:attribute' to attribute past geo location data Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

No branches or pull requests

3 participants