Error
- service.version: 1.41.0-wmf.18
- trace.id: f368b757-9230-46cf-be8c-6a2a18a7b5da
- Find trace.id in Logstash
[{reqId}] {exception_url} ApiUsageException: Invalid value "lk2id" for integer parameter "gsroffset".
from /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiUsageException.php(71) #0 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/Validator/ApiParamValidator.php(335): ApiUsageException::newWithMessage(ApiQuerySearch, Message, string, NULL, integer, Wikimedia\ParamValidator\ValidationException) #1 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/Validator/ApiParamValidator.php(361): MediaWiki\Api\Validator\ApiParamValidator->convertValidationException(ApiQuerySearch, Wikimedia\ParamValidator\ValidationException) #2 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiBase.php(1119): MediaWiki\Api\Validator\ApiParamValidator->getValue(ApiQuerySearch, string, array, array) #3 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiBase.php(802): ApiBase->getParameterFromSettings(string, array, boolean) #4 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiPageSet.php(284): ApiBase->extractRequestParams() #5 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiPageSet.php(256): ApiPageSet->executeInternal(boolean) #6 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiQuery.php(683): ApiPageSet->execute() #7 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiMain.php(1915): ApiQuery->execute() #8 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiMain.php(861): ApiMain->executeAction() #9 /srv/mediawiki/php-1.41.0-wmf.18/extensions/MediaSearch/src/Special/SpecialMediaSearch.php(561): ApiMain->execute() #10 /srv/mediawiki/php-1.41.0-wmf.18/extensions/MediaSearch/src/Special/SpecialMediaSearch.php(235): MediaWiki\Extension\MediaSearch\Special\SpecialMediaSearch->search(string, string, array, integer, string, string) #11 /srv/mediawiki/php-1.41.0-wmf.18/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\MediaSearch\Special\SpecialMediaSearch->execute(NULL) #12 /srv/mediawiki/php-1.41.0-wmf.18/includes/specialpage/SpecialPageFactory.php(1563): SpecialPage->run(NULL) #13 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(344): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #14 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(948): MediaWiki->performRequest() #15 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(597): MediaWiki->main() #16 /srv/mediawiki/php-1.41.0-wmf.18/index.php(50): MediaWiki->run() #17 /srv/mediawiki/php-1.41.0-wmf.18/index.php(46): wfIndexMain() #18 /srv/mediawiki/w/index.php(3): require(string) #19 {main}
from /srv/mediawiki/php-1.41.0-wmf.18/includes/libs/ParamValidator/TypeDef.php(66) #0 /srv/mediawiki/php-1.41.0-wmf.18/includes/libs/ParamValidator/TypeDef/IntegerDef.php(27): Wikimedia\ParamValidator\TypeDef->failure(string, string, string, array, array) #1 /srv/mediawiki/php-1.41.0-wmf.18/includes/libs/ParamValidator/ParamValidator.php(609): Wikimedia\ParamValidator\TypeDef\IntegerDef->validate(string, string, array, array) #2 /srv/mediawiki/php-1.41.0-wmf.18/includes/libs/ParamValidator/ParamValidator.php(551): Wikimedia\ParamValidator\ParamValidator->validateValue(string, string, array, array) #3 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/Validator/ApiParamValidator.php(359): Wikimedia\ParamValidator\ParamValidator->getValue(string, array, array) #4 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiBase.php(1119): MediaWiki\Api\Validator\ApiParamValidator->getValue(ApiQuerySearch, string, array, array) #5 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiBase.php(802): ApiBase->getParameterFromSettings(string, array, boolean) #6 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiPageSet.php(284): ApiBase->extractRequestParams() #7 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiPageSet.php(256): ApiPageSet->executeInternal(boolean) #8 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiQuery.php(683): ApiPageSet->execute() #9 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiMain.php(1915): ApiQuery->execute() #10 /srv/mediawiki/php-1.41.0-wmf.18/includes/api/ApiMain.php(861): ApiMain->executeAction() #11 /srv/mediawiki/php-1.41.0-wmf.18/extensions/MediaSearch/src/Special/SpecialMediaSearch.php(561): ApiMain->execute() #12 /srv/mediawiki/php-1.41.0-wmf.18/extensions/MediaSearch/src/Special/SpecialMediaSearch.php(235): MediaWiki\Extension\MediaSearch\Special\SpecialMediaSearch->search(string, string, array, integer, string, string) #13 /srv/mediawiki/php-1.41.0-wmf.18/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\MediaSearch\Special\SpecialMediaSearch->execute(NULL) #14 /srv/mediawiki/php-1.41.0-wmf.18/includes/specialpage/SpecialPageFactory.php(1563): SpecialPage->run(NULL) #15 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(344): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #16 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(948): MediaWiki->performRequest() #17 /srv/mediawiki/php-1.41.0-wmf.18/includes/MediaWiki.php(597): MediaWiki->main() #18 /srv/mediawiki/php-1.41.0-wmf.18/index.php(50): MediaWiki->run() #19 /srv/mediawiki/php-1.41.0-wmf.18/index.php(46): wfIndexMain() #20 /srv/mediawiki/w/index.php(3): require(string) #21 {main}
Impact
Notes
Looks like if gsroffset is not an integer it causes a fatal error