Topic on Extension talk:MultiUpload

82.19.15.121 (talkcontribs)

Extension doesn't work with MW 1.20. Get a PHP Fatal Error if I call the special page: Fatal error: Cannot make non static method SpecialUpload::getDupeWarning() static in class MultipleUpload in extensions/MultiUpload/MultiUpload.body.php on line 0 , and when I call upload file Fatal error: Cannot make non static method SpecialUpload::getDupeWarning() static in class MultipleUpload in extensions/MultiUpload/MultiUpload.body.php on line 10

Eric William Cochran (talkcontribs)

Remove the "static" keyword on line 354 of Multiupload.body.php to look like:
public function getDupeWarning( $dupes, $dupeTitle = null ) {

GreenBryn (talkcontribs)

I'm getting this same error when I go to the upload file page - Fatal error: Cannot make static method SpecialUpload::getDupeWarning() non static in class MultipleUpload in extensions/MultiUpload/MultiUpload.body.php on line 10

I went to Multiupload.body.php and removed "static" from that line per instructions, but that didn't fix it. Still getting same error. Please help?

206.83.81.178 (talkcontribs)

I am getting the exact same error message in 1.19 (installed from repo).

I tried applying the same fix as suggested above, but, Multiupload.body.php did not contain the keyword static on the suggested line, which as it turns out, is 357 on the file I am working with.

Reply to "MW 1.22 Fatal Error"