Last modified: 2013-08-22 14:55:47 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 T43801, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41801 - TextContent expects a string in the constructor
TextContent expects a string in the constructor
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-06 00:54 UTC by Sam Reed (reedy)
Modified: 2013-08-22 14:55 UTC (History)
1 user (show)

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


Attachments

Description Sam Reed (reedy) 2012-11-06 00:54:34 UTC
2012-11-06 00:54:07 mw72 enwiki: [2b5db4b8] /w/api.php?action=feedcontributions&feedformat=atom&user=95.86.124.51   Exception from line 36 of /usr/local/apache/common-local/php-1.21wmf3/includes/content/TextContent.php: TextContent expects a string in the constructor.
2012-11-06 00:54:07 mw72 enwiki: [310fec97] /w/api.php?action=feedcontributions&feedformat=atom&user=95.86.124.51   Exception from line 1727 of /usr/local/apache/common-local/php-1.21wmf3/includes/GlobalFunctions.php: Internal error in ApiFormatFeedWrapper::execute: Invalid feed class/item
#0 /usr/local/apache/common-local/php-1.21wmf3/includes/api/ApiBase.php(1423): wfDebugDieBacktrace('Internal error ...')
#1 /usr/local/apache/common-local/php-1.21wmf3/includes/api/ApiFormatBase.php(381): ApiBase::dieDebug('ApiFormatFeedWr...', 'Invalid feed cl...')
#2 /usr/local/apache/common-local/php-1.21wmf3/includes/api/ApiMain.php(938): ApiFormatFeedWrapper->execute()
#3 /usr/local/apache/common-local/php-1.21wmf3/includes/api/ApiMain.php(404): ApiMain->printResult(true)
#4 /usr/local/apache/common-local/php-1.21wmf3/includes/api/ApiMain.php(349): ApiMain->executeActionWithErrorHandling()
#5 /usr/local/apache/common-local/php-1.21wmf3/api.php(77): ApiMain->execute()
#6 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#7 {main}
Comment 1 Daniel Kinzler 2012-11-06 08:48:49 UTC
This seems to log two errors on the same request. I'm a bit confused about the format. The first one is an Exception from TextContent, but where is the stack traced for that? The second one is trigged by ApiFormat base - here we have a stack trace, but I don't understand why that codes gets executed if previously an exception occurred...

Anyway, I can't see where the bad value for TextContent's constructor comes from. This is pretty much the problem described by bug 41735, but it seems to me this is a general problem with mediawiki's error reporting system.
Comment 2 Sam Reed (reedy) 2012-11-06 10:41:49 UTC
They were appearing in pairs from the same apache at the same time, I guessed they must've been related.. That and the same request was coming in semi-frequently

The same URL works for me locally, which is really helpful. Not.
Comment 3 Daniel Kinzler 2012-11-13 10:31:58 UTC
Is this still a problem?
Comment 4 Daniel Kinzler 2012-11-14 20:01:42 UTC
closing, no further reports. re-open as needed.
Comment 5 denny vrandecic 2013-08-22 14:55:47 UTC
Closed older resolved bugs as verified.

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


Navigation
Links