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, ResolvedPublicPRODUCTION ERROR

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}

Event Timeline

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

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

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