PIwik 3.0.0 Core Plugin "UserCountry" ERROR

Hi,

After I upgrade Piwik to v3.0.0, I get some errors.

I have to disable the Core Plugin “UserCountry” because, if i activate this Plugin, Piwik stop the tracking.

When the Plugin is activated, in the php Error Log I get the Error:

PHP Fatal error: Cannot redeclare class Piwik\Plugins\UserCountry\LocationProvider\DefaultProvider in […]/piwik/plugins/UserCountry/LocationProvider/Default.php on line 0

So, I have to deactivate the Plugin. With that, Piwik is tracking the website user. Without that, if the plugin is active, Piwik determines the tracking of the website User.

Bye

Hello,

please report the error message in a new ticket in our tracker: Issues · piwik/piwik · GitHub and we’ll try to take a look!

Hello,

I have opened a ticket:

Thanks for your help!

Solution:

Delete the file
[...]/piwik/plugins/UserCountry/LocationProvider/Default.php

This file is not needed. Deleting this file would fix this Problem after Update to v3.0.0.

Thank you and Bye!

Same problem here,

PHP message: PHP Fatal error: Cannot redeclare class Piwik\Plugins\UserCountry\LocationProvider\DefaultProvider

deleted Default.php as above and problem solved.

I think he issue is that those (like me) upgrading from CLI using the .zip archive will miss the file deletion that the web UI upgrade does.