Error
- mwversion: 1.38.0-wmf.5
- reqId: 37a00e56-b3b8-4171-9ea5-bac9a2797977
- Find reqId in Logstash
- Find normalized_message in Logstash
[{reqId}] {exception_url} InvalidArgumentException: Wikimedia\Rdbms\Database::makeList: empty input for field recentchanges_actor.actor_user
from /srv/mediawiki/php-1.38.0-wmf.5/includes/libs/rdbms/database/Database.php(2690) #0 /srv/mediawiki/php-1.38.0-wmf.5/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->makeList(array, integer) #1 /srv/mediawiki/php-1.38.0-wmf.5/includes/libs/rdbms/database/DBConnRef.php(390): Wikimedia\Rdbms\DBConnRef->__call(string, array) #2 /srv/mediawiki/php-1.38.0-wmf.5/extensions/GrowthExperiments/includes/Mentorship/MentorFilterHooks.php(103): Wikimedia\Rdbms\DBConnRef->makeList(array, integer) #3 /srv/mediawiki/php-1.38.0-wmf.5/includes/changes/ChangesListStringOptionsFilterGroup.php(213): GrowthExperiments\Mentorship\MentorFilterHooks->GrowthExperiments\Mentorship\{closure}(string, RequestContext, Wikimedia\Rdbms\DBConnRef, array, array, array, array, array, array) #4 /srv/mediawiki/php-1.38.0-wmf.5/includes/specialpage/ChangesListSpecialPage.php(1519): ChangesListStringOptionsFilterGroup->modifyQuery(Wikimedia\Rdbms\DBConnRef, SpecialRecentChanges, array, array, array, array, array, FormOptions, boolean) #5 /srv/mediawiki/php-1.38.0-wmf.5/includes/specialpage/ChangesListSpecialPage.php(1016): ChangesListSpecialPage->buildQuery(array, array, array, array, array, FormOptions) #6 /srv/mediawiki/php-1.38.0-wmf.5/includes/specialpage/ChangesListSpecialPage.php(617): ChangesListSpecialPage->getRows() #7 /srv/mediawiki/php-1.38.0-wmf.5/includes/specials/SpecialRecentChanges.php(199): ChangesListSpecialPage->execute(NULL) #8 /srv/mediawiki/php-1.38.0-wmf.5/includes/specialpage/SpecialPage.php(647): SpecialRecentChanges->execute(NULL) #9 /srv/mediawiki/php-1.38.0-wmf.5/includes/specialpage/SpecialPageFactory.php(1377): SpecialPage->run(NULL) #10 /srv/mediawiki/php-1.38.0-wmf.5/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #11 /srv/mediawiki/php-1.38.0-wmf.5/includes/MediaWiki.php(925): MediaWiki->performRequest() #12 /srv/mediawiki/php-1.38.0-wmf.5/includes/MediaWiki.php(559): MediaWiki->main() #13 /srv/mediawiki/php-1.38.0-wmf.5/index.php(53): MediaWiki->run() #14 /srv/mediawiki/php-1.38.0-wmf.5/index.php(46): wfIndexMain() #15 /srv/mediawiki/w/index.php(3): require(string) #16 {main}
Impact
For users with no starred mentees, the "Your starred mentees" filters errors out. Same applies also for "Your unstarred mentees", but that's far more unlikely to happen.
Notes
MentorFilterHooks.php:103 is applied unconditionally, regardless of the number of IDs in $targetIds (which may be zero).