Error
- mwversion: 1.36.0-wmf.37
- Find reqId in Logstash
- Find normalized_message in Logstash
[{reqId}] {exception_url} Error: Call to undefined method Status::getTotalCount()
from /srv/mediawiki/php-1.36.0-wmf.37/extensions/GrowthExperiments/includes/NewcomerTasks/SuggestionsInfo.php(75) #0 /srv/mediawiki/php-1.36.0-wmf.37/extensions/GrowthExperiments/includes/Specials/SpecialNewcomerTasksInfo.php(36): GrowthExperiments\NewcomerTasks\SuggestionsInfo->getInfo() #1 /srv/mediawiki/php-1.36.0-wmf.37/includes/libs/objectcache/wancache/WANObjectCache.php(1604): GrowthExperiments\Specials\SpecialNewcomerTasksInfo->GrowthExperiments\Specials\{closure}(boolean, integer, array, NULL, array) #2 /srv/mediawiki/php-1.36.0-wmf.37/includes/libs/objectcache/wancache/WANObjectCache.php(1432): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array) #3 /srv/mediawiki/php-1.36.0-wmf.37/extensions/GrowthExperiments/includes/Specials/SpecialNewcomerTasksInfo.php(41): WANObjectCache->getWithSetCallback(string, integer, Closure) #4 /srv/mediawiki/php-1.36.0-wmf.37/includes/specialpage/SpecialPage.php(646): GrowthExperiments\Specials\SpecialNewcomerTasksInfo->execute(NULL) #5 /srv/mediawiki/php-1.36.0-wmf.37/includes/specialpage/SpecialPageFactory.php(1382): SpecialPage->run(NULL) #6 /srv/mediawiki/php-1.36.0-wmf.37/includes/MediaWiki.php(309): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext) #7 /srv/mediawiki/php-1.36.0-wmf.37/includes/MediaWiki.php(913): MediaWiki->performRequest() #8 /srv/mediawiki/php-1.36.0-wmf.37/includes/MediaWiki.php(546): MediaWiki->main() #9 /srv/mediawiki/php-1.36.0-wmf.37/index.php(53): MediaWiki->run() #10 /srv/mediawiki/php-1.36.0-wmf.37/index.php(46): wfIndexMain() #11 /srv/mediawiki/w/index.php(3): require(string) #12 {main}
Impact
Notes
Noticed while investigating T279646: Selecting "Expand short articles" with any other filter on Danish Wikipedia leads to zero result.
Special:NewcomerTasksInfo is broken when the search query is too long, while the maintenance script yields an understandable error in that case:
[urbanecm@mwmaint1002 ~]$ mwscript extensions/GrowthExperiments/maintenance/listTaskCounts.php --wiki=dawiki Search request is longer than the maximum allowed length. (Actual: 465, allowed: 300, not counting articletopic)