https://bugzilla.wikimedia.org/show_bug.cgi?id=40166
Web browser: ---
Bug #: 40166
Summary: Call to a member function bind() on a non-object
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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 ;)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l