Bug when trying to re-attribute visits with new geoip provider

Hi,

Just wanted to let you know that when I try to do
php console usercountry:attribute 2012-01-01,2015-11-23

I get

PHP Fatal error: Call to protected method Piwik\Plugins\UserCountry\Commands\AttributeHistoricalDataWithLocations::onVisitProcessed() from context โ€˜โ€™

Changing method to public temporary solves the problem, but I think this is a bug :smile:

cheers,
lio

Hi there,

it seems to work for me on piwik 2.15.0 - are you using this version? if so, can you please create bug report @ Issues ยท matomo-org/piwik ยท GitHub

Piwik 2.15.0, Piwikโ€™s server: PHP 5.3.10-1ubuntu3.21 with Suhosin-Patch (cli), Ubuntu 12.04

I will report the bug officially tomorrow.

Thanks.