Page MenuHomePhabricator

User.php gives "undefined user editcount" PHP notice
Closed, ResolvedPublic


Author: titoxd.wikimedia

After running svn up to HEAD on my local MediaWiki, I got the following error
notice plastered on top of the page (local file system path info replaced by

User::$mEditCount in {{$wgServerPath}}\MediaWiki\includes\User.php on line 1596

This only happens during new account creation, and the error fades away afterwards.

The error line, according to svn blame, was introduced in r19945, so it isn't
live on Wikimedia yet.

Version: 1.10.x
Severity: normal
OS: Windows XP
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:34 PM
bzimport set Reference to bz8999.
bzimport added a subscriber: Unknown Object (MLST).

nickpj wrote:

Verified error, stops for me with r19960, marking resolved.

titoxd.wikimedia wrote:

Cannot reproduce it anymore after r19660, marking verified fixed.