Constructor cannot be static after Update

After the update to Version 2.6.0 I get get a white page when I try to access Piwik.

The server error log says:


[Fri Sep 05 13:43:31 2014] [warn] [client 2.206.**] mod_fcgid: stderr: PHP Fatal error: Constructor Piwik\\Factory::factory() cannot be static in */piwik/core/Factory.php on line 60, referer: *

I use PHP 5.3 on an apache server.

Any ideas what causes this problem?

Same problem here:


PHP Fatal error:  Constructor Piwik\\Factory::factory() cannot be static in /var/www/vhosts/domain/httpdocs/piwik/core/Factory.php on line 60

on PHP 5.3.2-1ubuntu4.26 with Suhosin-Patch (cli) (built: Jul 9 2014 03:30:50).

This happened with 2.6.0 and 2.6.1 - Installations on servers with newer versions are not affected.

See here: 301 Moved Permanently

That does not help. I need a concrete method to get the broken installations working again and for the future. Self-fixing some lines in code is not reliable enough for me… What else do you suggest to get rid of the error?

What options are there? Either fix it yourself, or wait for them to do it. Anything else?

I guess you could update PHP to 5.5. That might help.

That is an PHP 5.3.2 issue. See Upgrade from 2.5.0 to 2.6.1. breaks · Issue #6134 · matomo-org/matomo · GitHub