Php fatal error after update Matomo to 3.5.0

(Roman) #1

Cannot redeclare class Piwik\Plugins\GeoIp2\GeoIp2 in /var/www/html/plugins/GeoIp2/GeoIp2.php on line 0

help me.

Blank Page after upgrading to 3.5.0
Problem nach Update auf Version 3.5.0
Matomo does not work
Kein Zugriff nach Update
Matomo 3.5.0 released
PIwik not showings IPs
Update to 3.5.0 problem
(Lukas Winkler) #2


Please check out

Matomo 3.5.0 has an own GeoIP2 implementation so you don’t need the third-party-plugin anymore.

Matomo 3.5.0 released
(Roman) #3

How can I disable or delete it? if the site matomo does not open

(Lukas Winkler) #4


You can disable the plugin in the config/config.php.ini

(Roman) #5

I commented out the line: Plugins [] = ‘GeoIP2’. Nothing changed. Did I do something wrong?

(Lukas Winkler) #6

Can you please delete (or move somewhere else) the plugins/GeoIP2 folder?

(Roman) #7

now I will do and write.

(Roman) #8

folder geoip2 is not in the plugins!

(Roman) #9

excuse me. disinformed. I did not look there. Thank you very much! Your tip solved my problem! THANK YOU!


Was slightly confused by this initially so for the benefit of someone who is scanning the plugins directory and missing this…

Letter case matters.

There are two geoip2 directories


Get rid of the /GeoIP2 but keep the /GeoIp2 version…

Odd that the installer doesn’t identify this as a potential conflict and fix the issue but there you go.

(Lukas Winkler) #11


The issue is that GeoIP2 isn’t an plugin provided by the Matomo team, but by a third party.


Understand that Lukas and I’m not assigning blame here… Apologies if that was your interpretation.

It’s just that having worked in coding and various other support arenas before, it’s the kind of issue that tends to clog up support channels so if a simple bit of code will help detect and alert the end-user to the problem and provide a link to the fix, it’s a real time saver for you and the end-user.

(Lukas Winkler) #13


You are right and therefore the next release tries to uninstall the old plugin: