Error
- mwversion: 1.43.0-wmf.1
- reqId: 2dfefd8a-3017-4bdc-b6b2-505ae978a15e
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Deprecated: The "post" source is deprecated, use "body" instead [Called from MediaWiki\Rest\Validator\ParamValidatorCallbacks::getValue]
from /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Validator/ParamValidatorCallbacks.php(60) #0 [internal function]: MWExceptionHandler::handleError(integer, string, string, string, array) #1 /srv/mediawiki/php-1.43.0-wmf.1/includes/debug/MWDebug.php(379): trigger_error(string, integer) #2 /srv/mediawiki/php-1.43.0-wmf.1/includes/debug/MWDebug.php(350): MWDebug::sendRawDeprecated(string, boolean, string) #3 /srv/mediawiki/php-1.43.0-wmf.1/includes/GlobalFunctions.php(798): MWDebug::deprecatedMsg(string, string, string, integer) #4 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Validator/ParamValidatorCallbacks.php(43): wfDeprecatedMsg(string, string) #5 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Validator/ParamValidatorCallbacks.php(60): MediaWiki\Rest\Validator\ParamValidatorCallbacks->getParamsFromSource(string) #6 /srv/mediawiki/php-1.43.0-wmf.1/includes/libs/ParamValidator/TypeDef.php(120): MediaWiki\Rest\Validator\ParamValidatorCallbacks->getValue(string, NULL, array) #7 /srv/mediawiki/php-1.43.0-wmf.1/includes/libs/ParamValidator/ParamValidator.php(525): Wikimedia\ParamValidator\TypeDef->getValue(string, array, array) #8 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Validator/Validator.php(152): Wikimedia\ParamValidator\ParamValidator->getValue(string, array, array) #9 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Handler.php(223): MediaWiki\Rest\Validator\Validator->validateParams(array) #10 /srv/mediawiki/php-1.43.0-wmf.1/extensions/OAuth/src/Rest/Handler/AuthenticationHandler.php(99): MediaWiki\Rest\Handler->validate(MediaWiki\Rest\Validator\Validator) #11 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Router.php(556): MediaWiki\Extension\OAuth\Rest\Handler\AuthenticationHandler->validate(MediaWiki\Rest\Validator\Validator) #12 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/Router.php(455): MediaWiki\Rest\Router->executeHandler(MediaWiki\Extension\OAuth\Rest\Handler\AccessToken) #13 /srv/mediawiki/php-1.43.0-wmf.1/includes/Rest/EntryPoint.php(216): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals) #14 /srv/mediawiki/php-1.43.0-wmf.1/includes/MediaWikiEntryPoint.php(199): MediaWiki\Rest\EntryPoint->execute() #15 /srv/mediawiki/php-1.43.0-wmf.1/rest.php(38): MediaWiki\MediaWikiEntryPoint->run() #16 /srv/mediawiki/w/rest.php(3): require(string) #17 {main}
Notes
This started during the 1.43.0-wmf.1 train rollout to group1. The rate is currently about 35 per 15 minutes. I'm making this a train blocker.
The relevant deprecation warning was added in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1017491 for T358560.