Page MenuHomePhabricator

PHP Notice: Undefined variable: headers
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.35.0-wmf.15

message
PHP Notice: Undefined variable: headers

Impact

Notes

Details

Request ID
b79b64a5-d193-45b0-b90d-9237ce53cc84
Request URL
https://zh.wikipedia.org/w/rest.php/zh.wikipedia.org/v3/transform/pagebundle/to/pagebundle/%E7%94%9F%E5%8C%96%E5%8D%B1%E6%A9%9F%E4%B9%8B%E8%AE%8A%E7%A8%AE%E7%94%9F%E9%82%84%E8%80%85
Stack Trace
exception.trace
#0 /srv/deployment/parsoid/deploy-cache/revs/7bf9819dba8d02c93dfdbf8e42a2933c0968bd32/src/extension/src/Rest/Handler/ParsoidHandler.php(1029): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/deployment/parsoid/deploy-cache/revs/7bf9819dba8d02c93dfdbf8e42a2933c0968bd32/src/extension/src/Rest/Handler/ParsoidHandler.php(913): MWParsoid\Rest\Handler\ParsoidHandler->languageConversion(Parsoid\Config\Env, array, array)
#2 /srv/deployment/parsoid/deploy-cache/revs/7bf9819dba8d02c93dfdbf8e42a2933c0968bd32/src/extension/src/Rest/Handler/TransformHandler.php(106): MWParsoid\Rest\Handler\ParsoidHandler->pb2pb(Parsoid\Config\Env, array)
#3 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Router.php(314): MWParsoid\Rest\Handler\TransformHandler->execute()
#4 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/Router.php(285): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\TransformHandler)
#5 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/EntryPoint.php(111): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#6 /srv/mediawiki/php-1.35.0-wmf.15/includes/Rest/EntryPoint.php(78): MediaWiki\Rest\EntryPoint->execute()
#7 /srv/mediawiki/php-1.35.0-wmf.15/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#8 /srv/mediawiki/w/rest.php(3): require(string)
#9 {main}

Event Timeline

Change 565366 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/services/parsoid@master] Fix PHP Notice when using pb2pb endpoint

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

Change 565366 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Fix PHP Notice when using pb2pb endpoint

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