Page MenuHomePhabricator

getPrefixedText called on a non-object during XML dump production
Closed, ResolvedPublic

Description

Fatal error: Call to a member function getPrefixedText() on a non-object in /usr/local/apache/common-local/wmf-deployment/extensions/LiquidThreads/classes/Hooks.php on line 180

Seen when dumping page stubs; this therefore breaks all page text dumps as well.

Reedy pointed to this revision as the guilty party:
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68594


Version: unspecified
Severity: major
URL: http://dumps.wikimedia.org/ptwikibooks/20110111/

Details

Reference
bz26673

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:18 PM
bzimport set Reference to bz26673.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Fatal error: Call to a member function getPrefixedText() on a non-object in
/usr/local/apache/common-local/wmf-deployment/extensions/LiquidThreads/classes/Hooks.php
on line 180

This seems to be related to (or the cause for) Bug 27642. The latest dump[1] has exactly the same error:
http://dumps.wikimedia.org/ptwikibooks/20110111/

Marking as major since this is affecting various dumps on Portuguese Wikibooks (bug 27642).

Roan put in a quick hack to avoid the fatal, see http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.17wmf1/extensions/LiquidThreads/classes/Hooks.php?r1=95668&r2=97140&pathrev=97140 and the dumps now run to completion. Whether there is some underlying cause that needs to be checked, is another matter entirely...

That fix appears to have done the trick, runs for ptwikibooks have been good since then. Closing.