Thread:Project:Support desk/I cannot upgrade Mediawiki owing to StatsdDataFactory

I have difficulty upgrading Mediawiki from 1.23 to 1.25 owing to StatsdDataFactory.

I succeeded in "composer update" and "php update.php." But when I tried "php rebuildall.php", I got the following error:

PHP Fatal error: Class'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in /var/www/html/mydomain.com/w/includes/libs/BufferingStatsdDataFactory.php on line 33

The same error occurred both in

(1) CentOS 6.6 + PHP 5.3.3 + Apache 2.2.15 + mysql 14.1

and in

(2) CentOS 7.1 + PHP 5.4.16 + Apache 2.4.6 + mariadb 15.1

I opened the BufferingStatsdDataFactory.php file, to find.

(line 23) use Liuggio\StatsdClient\Factory\StatsdDataFactory;

(line 33) class BufferingStatsdDataFactory extends StatsdDataFactory {protected $buffer = array; ...

Then I opened composer.json at /var/www/html/mydomain.com/w/, to find "liuggio/statsd-php-client" is included.

"require": { "cssjanus/cssjanus": "1.1.1", "ext-iconv": "*", "leafo/lessphp": "0.5.0", "liuggio/statsd-php-client": "1.0.12", "oojs/oojs-ui": "0.11.3", "php": ">=5.3.3", "psr/log": "1.0.0", "wikimedia/cdb": "1.0.1", "wikimedia/composer-merge-plugin": "1.0.0", "wikimedia/utfnormal": "1.0.2", "zordius/lightncandy": "0.18" },

In this file, I set to autoload Liuggio, but it did not work.

"autoload": { "psr-0": { "ComposerHookHandler": "includes/composer" }               "psr-4": { "Liuggio\\": "includes/composer" }       },

Now my wiki site is inaccessible. I welcome any suggestions.