[error] [client *] PHP Warning: require(/var/www/vhosts/**/httpdocs/vendor/facebook/xhprof/xhprof_lib/utils/xhprof_lib.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/vhosts/**/httpdocs/vendor/composer/autoload_real.php on line 58, referer: http://**/index.php?module=CoreUpdater&action=oneClickUpdate
[error] [client *] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/vhosts/**/httpdocs/vendor/facebook/xhprof/xhprof_lib/utils/xhprof_lib.php' (include_path='/var/www/vhosts/**/httpdocs/vendor/phpunit/php-text-template:/var/www/vhosts/**/httpdocs/vendor/phpunit/phpunit-mock-objects:/var/www/vhosts/**/httpdocs/vendor/phpunit/php-timer:/var/www/vhosts/**/httpdocs/vendor/phpunit/php-file-iterator:/var/www/vhosts/**/httpdocs/vendor/phpunit/php-code-coverage:/var/www/vhosts/**/httpdocs/vendor/phpunit/phpunit:/var/www/vhosts/**/httpdocs/vendor/symfony/yaml:.:') in /var/www/vhosts/**/httpdocs/vendor/composer/autoload_real.php on line 58, referer: http://**/index.php?module=CoreUpdater&action=oneClickUpdate
Did you guys check your auto update, before you release an update?
What’s the procedure for upgrading to 2.6.1? Since the auto update of 2.6.0 failed, I have a blank screen for Piwik. Clicking the 2.6.1 link above just takes me to a release notice, so it would be helpful to know what terminal command or other approach I can use to see if I can recover the installation through 2.6.1. Thanks.
I worked out the (somewhat) obvious answer after posting this question: Go to the download page to get the latest 2.6.1. version of Piwik and reinstall. All appears to be running correctly now.
I’ve just uploaded 2.6.1 (no overwrite) and it’s still a blank page: Displaying errors gives me:
Fatal error: Constructor Piwik\Factory::factory() cannot be static in /path/to/piwik/core/Factory.php on line 60
It’s an abstract class with a static method of the same name as the class (but lowercase). Is that allowed in PHP 5.3.2? At least making it non-static fixes it.
Maybe 5.3.2 thinks it’s the constructor? Even though it’s an abstract class? It’s not complaining about the other static method in there.
edit: I should read the error message more carefully. That’s exactly what’s happening. Poor choice of method name. Surely that’s not the real solution though.
edit2: Yup, my change breaks the cronjob though unfortunately:
Non-static method Piwik\Factory::factory() cannot be called statically, assuming $this from incompatible context
I think 2.6.1 should be pulled off the download page. It can only get worse.
Cool, thx!
I replaced the files with version 2.5.0 and it seems to work fine.
Is it safe from a database point of view? Did 2.6.0/1 do any changes that don’t work with 2.5.0?