Page MenuHomePhabricator

ApiQueryRevisionsBase: PHP Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   PHP Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiQueryRevisionsBase.php(252)
#0[internal function]MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiQueryRevisionsBase.php(252)ctype_digit(int)
#2/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiQueryRevisions.php(159)MediaWiki\Api\ApiQueryRevisionsBase->parseParameters(array)
#3/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiQueryRevisionsBase.php(171)MediaWiki\Api\ApiQueryRevisions->run()
#4/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiQuery.php(739)MediaWiki\Api\ApiQueryRevisionsBase->execute()
#5/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiMain.php(2010)MediaWiki\Api\ApiQuery->execute()
#6/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiMain.php(948)MediaWiki\Api\ApiMain->executeAction()
#7/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiMain.php(919)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#8/srv/mediawiki/php-1.45.0-wmf.4/includes/api/ApiEntryPoint.php(152)MediaWiki\Api\ApiMain->execute()
#9/srv/mediawiki/php-1.45.0-wmf.4/includes/MediaWikiEntryPoint.php(198)MediaWiki\Api\ApiEntryPoint->execute()
#10/srv/mediawiki/php-1.45.0-wmf.4/api.php(44)MediaWiki\MediaWikiEntryPoint->run()
#11/srv/mediawiki/w/api.php(3)require(string)
#12{main}
Notes

Happening at a low rate. 17 since 1.44.0-wmf.23.

Event Timeline

brennen renamed this task from PHP Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future to ApiQueryRevisionsBase: PHP Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future.Jun 12 2025, 3:35 PM

Change #1157443 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1157443 merged by jenkins-bot:

[mediawiki/core@master] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159472 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_44] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159474 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_43] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159475 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_42] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159476 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_39] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Reedy claimed this task.

Change #1159476 merged by jenkins-bot:

[mediawiki/core@REL1_39] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159475 merged by jenkins-bot:

[mediawiki/core@REL1_42] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159472 merged by jenkins-bot:

[mediawiki/core@REL1_44] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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

Change #1159474 merged by jenkins-bot:

[mediawiki/core@REL1_43] ApiQueryRevisionsBase: Cast ctype_digit() param to string

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