php - MediaWiki upgrade (1.19.6 to 1.22.2) breaks - fetchContent() error
Just upgraded Mediawiki 1.19.6 to the most current, 1.22.2. Used update.php, which worked just fine. The front page loads, as do SOME of the articles if you enter their exact URL. However, following any of the links produces:
Catchable fatal error: Argument 1 passed to ContentHandler::getContentText() must implement interface Content, boolean given, called in <wiki path>/includes/Article.php on line 389 and defined in <wiki path>/includes/content/ContentHandler.php on line 95.
I've looked up the call to getContentText() in Article.php, and it's in a function called fetchContent(), with a comment about it being crufty and a note that the ContentHandler method within is deprecated.
I can't figure out how to fix what's gone wrong, and web searches are only turning up bug reports that are marked fixed... any ideas? Thanks very much.