Fatal error: Call to a member function bind() on a non-object in /usr/local/apache/common-local/php-1.20wmf11/includes/upload/UploadBase.php on line 247
UploadBase:
$tmpFile = $repo->getLocalCopy( $srcPath );
$tmpFile->bind( $this ); // keep alive with $thumb
File Repo:
- @return TempFSFile|null Returns null on failure
*/
public function getLocalCopy( $virtualUrl ) {
$path = $this->resolveToStoragePath( $virtualUrl ); return $this->backend->getLocalCopy( array( 'src' => $path ) );
}
FileBackend
- @return TempFSFile|null Returns null on failure
*/
abstract public function getLocalCopy( array $params );
Something should be checking for null in UploadBase ;)
Version: unspecified
Severity: normal