Jump to content

Topic on Extension talk:Header Footer

rebuildFileCache fails when HeaderFooter active

3
2003:C2:3F1A:A400:615A:F64D:8E1D:FCAE (talkcontribs)

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?

2003:C2:3F22:8200:C1BD:F620:4468:F03 (talkcontribs)

We have abandoned the HeaderFooter extension now and switched to PageNotice, which offers pretty much the same capabilities.

2001:9E8:E5D2:7900:9DB4:A262:3907:A837 (talkcontribs)

I'm sorry, but why is this not mentioned on the Extension page and why is PageNotice still referring to HeaderFooter as if it was a sensible alternative?

Reply to "rebuildFileCache fails when HeaderFooter active"