Thread:Extension talk:UploadLocal/PHP Errors out

Running Mediawiki 1.18.1

PHP Fatal error: Call to a member function getName on a non-object in /var/www/includes/upload/UploadBase.php on line 510

it does this for all uploads that I've tested so far

the wiki Im putting this on is pcgamingwiki.com