Last modified: 2012-09-04 21:39:16 UTC
Warning: mt_rand() [<a href='function.mt-rand'>function.mt-rand</a>]: max(-1) is smaller than min(0) in /usr/local/apache/common-local/php-1.20wmf8/extensions/ConfirmEdit/FancyCaptcha.class.php on line 135 Line: $n = mt_rand( 0, $this->countFiles( $directory ) - 1 );
This condition will happen if the images directory exists, is a directory, but contains no files. (countFiles() returns 0) If you're seeing it in production.... it probably means that /mnt/upload6 is not mounted, if I'm reading the config correctly.
https://gerrit.wikimedia.org/r/#/c/22039/