Last modified: 2014-01-31 15:49:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61802, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59802 - PHP Warning: header() expects parameter 3 to be long, string given in WebResponse.php on line 38
PHP Warning: header() expects parameter 3 to be long, string given in WebRes...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-07 23:29 UTC by Sam Reed (reedy)
Modified: 2014-01-31 15:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-01-07 23:29:36 UTC
PHP Warning:  header() expects parameter 3 to be long, string given in /usr/local/apache/common-local/php-1.23wmf9/includes/WebResponse.php on line 38
Comment 1 Umherirrender 2014-01-31 15:49:10 UTC
I have found only 1 call to WebResponse::header with a potencial string as third parameter in core, that is in ApiMain line 386
$response->header( $headerStr, true, $e->getCode() );

$e is a expection, where getCode is documented with a return type of int, but
http://www.php.net/manual/en/exception.getcode.php says:
Returns the exception code as integer in Exception but possibly as other type in Exception descendants

A stack trace is needed to find out, if this is from api (and which exception type) or maybe a extension.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links