Error
MediaWiki version: 1.37.0-wmf.1
message
Return value of class@anonymous::getTaskTypes() must be of the type array, null returned
/srv/mediawiki/multiversion/MWScript.php extensions/GrowthExperiments/maintenance/listTaskCounts.php --wiki=frwiktionary --tasktype link-recommendation --topictype ores --statsd --output none
trace
from /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(55) #0 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/maintenance/listTaskCounts.php(83): class@anonymous
Related errors:
PHP Warning: array_merge(): Argument #1 is not an array from /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/OresTopicTrait.php(78) #0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/OresTopicTrait.php(78): array_merge(StatusValue, array) #2 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(49): class@anonymous
PHP Warning: array_map(): Argument #2 should be an array from /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(55) #0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(55): array_map(Closure, NULL) #2 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/maintenance/listTaskCounts.php(83): class@anonymous
PHP Warning: array_combine() expects parameter 1 to be array, null given from /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(55) #0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/includes/NewcomerTasks/ConfigurationLoader/ConfigurationLoaderTrait.php(55): array_combine(NULL, NULL) #2 /srv/mediawiki/php-1.37.0-wmf.1/extensions/GrowthExperiments/maintenance/listTaskCounts.php(83): class@anonymous
Impact
Logspam
Notes
Newcomer tasks doesn't exist for frwiktionary, but we have code that assumes it could exist. We should clean that up.