Page MenuHomePhabricator

PHP Warning: Use of undefined constant PAGE_UNAVAILABLE - assumed 'PAGE_UNAVAILABLE' (this will throw an Error in a future version of PHP)
Closed, ResolvedPublic

Description

Error

MediaWiki version: 1.35.0-wmf.16

message
PHP Warning: Use of undefined constant PAGE_UNAVAILABLE - assumed 'PAGE_UNAVAILABLE' (this will throw an Error in a future version of PHP)

Impact

Notes

Details

Request ID
XjszsApAIEIAABKaVZMAAAAT
Request URL
https://it.wikipedia.org/w/rest.php/it.wikipedia.org/v3/page/pagebundle/Aquaman/110605541
Stack Trace
exception.trace
#0 /srv/deployment/parsoid/deploy-cache/revs/01d9d3d954384b0fdfc1c2ebeafa1a9b68305895/src/extension/src/Config/PageConfigFactory.php(94): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/deployment/parsoid/deploy-cache/revs/01d9d3d954384b0fdfc1c2ebeafa1a9b68305895/src/extension/src/Rest/Handler/ParsoidHandler.php(342): MWParsoid\Config\PageConfigFactory->create(Title, User, integer, NULL, NULL, array)
#2 /srv/deployment/parsoid/deploy-cache/revs/01d9d3d954384b0fdfc1c2ebeafa1a9b68305895/src/extension/src/Rest/Handler/ParsoidHandler.php(362): MWParsoid\Rest\Handler\ParsoidHandler->createPageConfig(Title, integer, NULL, NULL)
#3 /srv/deployment/parsoid/deploy-cache/revs/01d9d3d954384b0fdfc1c2ebeafa1a9b68305895/src/extension/src/Rest/Handler/PageHandler.php(35): MWParsoid\Rest\Handler\ParsoidHandler->createEnv(string, integer, boolean)
#4 /srv/mediawiki/php-1.35.0-wmf.16/includes/Rest/Router.php(314): MWParsoid\Rest\Handler\PageHandler->execute()
#5 /srv/mediawiki/php-1.35.0-wmf.16/includes/Rest/Router.php(285): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\PageHandler)
#6 /srv/mediawiki/php-1.35.0-wmf.16/includes/Rest/EntryPoint.php(111): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#7 /srv/mediawiki/php-1.35.0-wmf.16/includes/Rest/EntryPoint.php(78): MediaWiki\Rest\EntryPoint->execute()
#8 /srv/mediawiki/php-1.35.0-wmf.16/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#9 /srv/mediawiki/w/rest.php(3): require(string)
#10 {main}
Related Gerrit Patches:
mediawiki/services/parsoid : masterCorrected PAGE_UNAVAILABLE check for invalid RevID

Event Timeline

Arlolra created this task.Wed, Feb 5, 9:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Feb 5, 9:38 PM

Change 570101 had a related patch set uploaded (by Arlolra; owner: Sbailey):
[mediawiki/services/parsoid@master] Corrected PAGE_UNAVAILABLE check for invalid RevID

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

Arlolra assigned this task to Sbailey.Thu, Feb 6, 4:31 PM

Change 570101 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Corrected PAGE_UNAVAILABLE check for invalid RevID

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

Arlolra closed this task as Resolved.Thu, Feb 6, 5:48 PM