yazoZ
September 5, 2014, 11:49am
1
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.
gaxweb
September 5, 2014, 2:01pm
3
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?
gaxweb
September 5, 2014, 2:20pm
5
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.
SteveG
(Stefan Giehl)
September 5, 2014, 7:53pm
6