Page MenuHomePhabricator

PHP Notice: Undefined index: SERVER_PROTOCOL
Closed, ResolvedPublic

Description

wfDoContentLength assumes PHP code will be invoked from a web context, with SERVER_PROTOCOL defined. This is not the case when index.php is invoked in CLI.

PHP Notice: Undefined index: SERVER_PROTOCOL in /var/wwwroot/dereckson.be/mediawiki/includes/OutputHandler.php on line 159


Version: 1.21.x
Severity: trivial

Details

Reference
bz43218