Page MenuHomePhabricator

zhwiki in beta fails with a PHP fatal on main page.
Closed, DuplicatePublic

Description

Right now visiting https://zh.wikipedia.beta.wmflabs.org/wiki/%E9%A6%96%E9%A1%B5 gives a "our servers are experienceing a technical problem" with this PHP error listed:

Call to undefined method WikitextContent::getEntity()

Event Timeline

A few more details from a cursory investigation:

  • https://zh.wikipedia.beta.wmflabs.org/ is totally broken
  • the PHP fatal is "Call to undefined method WikitextContent::getEntity()", which isn't a method name in core, nor has includes/content/WikitextContent.php been changed in a meaningful way recently
  • probably a type mismatch. extensions/Wikibase/lib/includes/Store/EntityRevision.php defines 'public function getEntity()', that's my wild guess at what's supposed to be being called