Thread:Project:Support desk/Fatal error when trying to open File List

When I click on File list I get the error message "Fatal error: Call to a member function toHtml on a non-object in /var/www/mediawiki/includes/specials/SpecialListfiles.php on line 163". What can I do to prevent this? Mediawiki version is 1.17.0.