Last modified: 2011-06-23 15:25:33 UTC
[11-May-2011 02:23:07] /wiki/User:Nike/contenido/includes/include.lay_subnav.php?cfg[path][contenido]=test??: Exception: Ask nike #0 /www/w/includes/WebRequest.php(584): wfArrayToCGI(Array) #1 /www/w/includes/WebRequest.php(568): WebRequest->appendQueryArray(Array, true) #2 /www/w/includes/SkinTemplate.php(1184): WebRequest->appendQueryValue('printable', 'yes', true) #3 /www/w/includes/SkinTemplate.php(500): SkinTemplate->buildNavUrls(Object(OutputPage)) #4 /www/w/includes/OutputPage.php(1905): SkinTemplate->outputPage(Object(OutputPage)) #5 /www/w/includes/Wiki.php(401): OutputPage->output() #6 /www/w/index.php(150): MediaWiki->finalCleanup() #7 {main} 1266- foreach ( $array1 as $key => $value ) { 1267- if ( $value !== '' ) { 1268- if ( $cgi != '' ) { 1269- $cgi .= '&'; 1270- } 1271- if ( is_array( $value ) ) { 1272- $firstTime = true; 1273- foreach ( $value as $v ) { 1274- if ( !is_string( $v ) ) { 1275: throw new MWException("Ask nike");
Is this an E_NOTICE or an exception? I don't see any code that throws an exception with the message 'Ask nike', and there doesn't seem to be a line number or anything referring to any particular code inside wfArrayToCGI.
The notice would be an array to string conversion or some such. I just hacked exception there to get a backtrace.
Oh I see -- that's alternate code to throw an exception at the point where an E_NOTICE would have been thrown...? Seems to be a multiple-level array in the input, which wfArrayToCGI doesn't expect.
Since you've already hacked the source, can you dump that function's input?
Should not be hard to guess from the request url.
Fixed with r90661.