Mediawiki 1.31.15: FileCache is active, HeaderFooter extension is active
php rebuildFileCache.php
->
Building content page file cache from page 0!
[2eca396023193fbd9b8da2a0] [no req] Error from line 19 of /var/www/prod/mediawiki/extensions/HeaderFooter/HeaderFooter.class.php: Call to a member function getNsText() on null
Backtrace:
#0 /var/www/prod/mediawiki/includes/Hooks.php(177): HeaderFooter::hOutputPageParserOutput(OutputPage, ParserOutput)
#1 /var/www/prod/mediawiki/includes/Hooks.php(237): Hooks::callHook(string, array, array, NULL, string)
#2 /var/www/prod/mediawiki/includes/OutputPage.php(1810): Hooks::runWithoutAbort(string, array)
#3 /var/www/prod/mediawiki/includes/OutputPage.php(1861): OutputPage->addParserOutputMetadata(ParserOutput)
#4 /var/www/prod/mediawiki/includes/page/Article.php(619): OutputPage->addParserOutput(ParserOutput, array)
#5 /var/www/prod/mediawiki/maintenance/rebuildFileCache.php(148): Article->view()
#6 /var/www/prod/mediawiki/maintenance/doMaintenance.php(94): RebuildFileCache->execute()
#7 /var/www/prod/mediawiki/maintenance/rebuildFileCache.php(187): require_once(string)
#8 {main}
Any idea what is going wrong here?