Page MenuHomePhabricator

maintenance/removeUnusedAccounts.php throws random undefined property in PHP notice
Closed, DuplicatePublic

Description

MediaWiki	1.31.1
PHP	7.2.10-0ubuntu0.18.04.1 (apache2handler)
MariaDB	10.0.35-MariaDB
PHP Notice:  Undefined property: stdClass::$actor_id in /var/www/<snip>/htdocs/w/maintenance/removeUnusedAccounts.php on line 78
PHP Notice:  Undefined property: stdClass::$actor_id in /var/www/<snip>/htdocs/w/maintenance/removeUnusedAccounts.php on line 83

the above notices are inbetween each username on execution of the script. version information included for reference/debug purposes

Event Timeline

charitwo created this task.Oct 24 2018, 2:15 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 24 2018, 2:15 AM

I guess 83164669a14 needs to be backported.

backported in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/469364/ . Going to merge this as dupe of other bug T199494