Page MenuHomePhabricator

refreshLinkRecommendations.php - Call to undefined method Status::getTotalCount()
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.36

message
Call to undefined method Status::getTotalCount()

Notes

Details

Stack Trace
exception.trace
from /srv/mediawiki/php-1.36.0-wmf.36/extensions/GrowthExperiments/maintenance/refreshLinkRecommendations.php(152)
#0 /srv/mediawiki/php-1.36.0-wmf.36/maintenance/doMaintenance.php(112): GrowthExperiments\Maintenance\RefreshLinkRecommendations->execute()
#1 /srv/mediawiki/php-1.36.0-wmf.36/extensions/GrowthExperiments/maintenance/refreshLinkRecommendations.php(489): require_once(string)
#2 /srv/mediawiki/multiversion/MWScript.php(101): require_once(string)
#3 {main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Etonkovidova renamed this task from Call to undefined method Status::getTotalCount() to refreshLinkRecommendations.php - Call to undefined method Status::getTotalCount().Mar 23 2021, 9:33 PM
Etonkovidova updated the task description. (Show Details)
Etonkovidova updated the task description. (Show Details)
Etonkovidova added subscribers: Tgr, kostajh.

Change 674445 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/extensions/GrowthExperiments@master] Check that TaskSuggester::suggest() returns a TaskSet

https://gerrit.wikimedia.org/r/674445

kostajh added a project: Add-Link.
kostajh moved this task from Backlog to Done / QA on the Add-Link board.
kostajh moved this task from Incoming to QA on the Growth-Team (Current Sprint) board.

Change 674445 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Check if TaskSuggester::suggest() returns a StatusValue

https://gerrit.wikimedia.org/r/674445

Checked on testwiki wmf.37 and after monitoring for while it seems that the error is still present - dashboard Growth Team RefreshLinkRecommendations error. The total count was 14 at Apr 2, 2021 @ 15:47:10.768.

Moving to Test in Production|Watching to decide whether it needs more work.

Re-checked - the error is not present anymore.