Page MenuHomePhabricator

"User::loadFromSession called before the end of Setup.php" warning due to AntiSpoof
Closed, ResolvedPublicPRODUCTION ERROR

Description

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2016.11.21/mediawiki/?id=AViI99rHwDvXYimmBTj-

/srv/mediawiki/php-1.29.0-wmf.3/includes/user/User.php:2087
/srv/mediawiki/php-1.29.0-wmf.3/includes/user/User.php:5131
/srv/mediawiki/php-1.29.0-wmf.3/includes/user/User.php:2766
/srv/mediawiki/php-1.29.0-wmf.3/includes/context/RequestContext.php:364
/srv/mediawiki/php-1.29.0-wmf.3/includes/Message.php:369
/srv/mediawiki/php-1.29.0-wmf.3/includes/Message.php:1196
/srv/mediawiki/php-1.29.0-wmf.3/includes/Message.php:816
/srv/mediawiki/php-1.29.0-wmf.3/includes/Message.php:908
/srv/mediawiki/php-1.29.0-wmf.3/extensions/AntiSpoof/AntiSpoof_body.php:379
/srv/mediawiki/php-1.29.0-wmf.3/extensions/AntiSpoof/SpoofUser.php:10
/srv/mediawiki/php-1.29.0-wmf.3/extensions/AntiSpoof/AntiSpoofHooks.php:128
/srv/mediawiki/php-1.29.0-wmf.3/includes/Hooks.php:195
/srv/mediawiki/php-1.29.0-wmf.3/includes/auth/AuthManager.php:1724
/srv/mediawiki/php-1.29.0-wmf.3/includes/Setup.php:866
/srv/mediawiki/php-1.29.0-wmf.3/includes/WebStart.php:137
/srv/mediawiki/php-1.29.0-wmf.3/index.php:40
/srv/mediawiki/w/index.php:3

Caused by message handling in AntiSpoof::checkUnicodeString (when called on user autocreation).