Last modified: 2012-07-20 09:06:49 UTC
Non-string key given Backtrace: #0 /Users/sky/Sites/brandonsky11o/g/wiki/includes/GlobalFunctions.php(781): MessageCache->get(NULL, true, Object(Language)) #1 /Users/sky/Sites/brandonsky11o/g/wiki/includes/GlobalFunctions.php(902): wfMsgGetKey(NULL, true, Object(Language), false) #2 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(513): wfMsgExt(NULL, Array) #3 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(525): Language->getMessageFromDB(NULL) #4 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(799): Language->getMonthName(false) #5 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(1560): Language->sprintfDate('H:i, j F Y', false) #6 /Users/sky/Sites/brandonsky11o/g/wiki/extensions/FlaggedRevs/FlaggedRevsLogs.php(110): Language->timeanddate('143570622090546', false, false) #7 /Users/sky/Sites/brandonsky11o/g/wiki/extensions/FlaggedRevs/FlaggedRevsLogs.php(47): FlaggedRevsLogs::stabilitySettings(Array, false) #8 [internal function]: FlaggedRevsLogs::stabilityLogText('stable', 'config', Object(Title), Object(SkinMonoBook), Array, true) #9 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogPage.php(297): call_user_func_array('FlaggedRevsLogs...', Array) #10 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(343): LogPage::actionText('stable', 'config', Object(Title), Object(SkinMonoBook), Array, true) #11 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(298): LogEventsList->logAction(Object(stdClass), Object(Title), Array) #12 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(981): LogEventsList->logLine(Object(stdClass)) #13 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Pager.php(317): LogPager->formatRow(Object(stdClass)) #14 /Users/sky/Sites/brandonsky11o/g/wiki/includes/specials/SpecialLog.php(114): IndexPager->getBody() #15 /Users/sky/Sites/brandonsky11o/g/wiki/includes/specials/SpecialLog.php(78): SpecialLog->show(Object(FormOptions), Array) #16 /Users/sky/Sites/brandonsky11o/g/wiki/includes/SpecialPage.php(578): SpecialLog->execute(NULL) #17 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Wiki.php(262): SpecialPage::executePath(Object(Title)) #18 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #19 /Users/sky/Sites/brandonsky11o/g/wiki/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #20 {main}
I don't have this problem on MediaWiki & FlaggedRevs on git master. I can tell from the paths in the error that it is an older version of the code. I don't know what version of core/extensions are being used there.
This can't be resolved without any version information. I suspect its a new version of core and an old extension version.
Closed; lacking information.
Here's my version: REL_1_17. Requesting a reopen of this bug.
(In reply to comment #4) > Here's my version: REL_1_17. Requesting a reopen of this bug. For both core and extensions?
yes
I can reproduce the exception with by running some code in eval.php: echo $wgLang->timeanddate('143570622090546', false, false); Also, running: var_dump( wfTimestamp( TS_MW, '143570622090546' ) ); ...give "false". That number is way too high too be TS_UNIX (e.g. time()). What does the SQL "SELECT * FROM /*your db prefix*/flaggedpage_config WHERE fpc_expiry <> 'infinity' ORDER BY fpc_expiry DESC LIMIT 20" give? Also are you using MySQL or something else?
using SQLite 3.6.12; mediawiki 1.17.3.
So what's the result of that query? I don't see how a 15 char timestamp ended up in a varchar(14).
Appears to be happening only when accessing the stability sub-log. Closing.