Last modified: 2013-12-13 20:03:34 UTC
Observed at translatewiki.net: PHP Fatal error: Call to a member function isError() on a non-object in /www/translatewiki.net/w/includes/filerepo/file/File.php on line 907 Code snippet: $thumb = $this->transform( $params ); if ( is_null( $thumb ) || $thumb->isError() ) { return ''; } Happens when $thumb is false, which means that $thumb->isError() is called on a non-object.
Change 101179 had a related patch set uploaded by Brian Wolff: Fix error handling in File::createThumb. https://gerrit.wikimedia.org/r/101179
Change 101179 merged by jenkins-bot: Fix error handling in File::createThumb. https://gerrit.wikimedia.org/r/101179