Page MenuHomePhabricator

Class 'MediaWiki\Extension\Elastica\MWElasticUtils' not found in /var/.../extensions/Translate/ttmserver/ElasticSearchTTMServer.php
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Mark a page for translation
  • Translate it to a language
  • Run MediaWiki - maintenance/runJobs.php

What happens?:
You get the following error:

Class 'MediaWiki\Extension\Elastica\MWElasticUtils' not found in /var/www/mleb/core/extensions/Translate/ttmserver/ElasticSearchTTMServer.php on line 797

What should have happened instead?:
Should not have had an error

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

  • MW 1.36 (Translate is part of
  • Elastica - REL1_36
  • Translate - master

Event Timeline

Change 786281 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Add fallback MWElasticUtils class resolution for MW < 1.38

https://gerrit.wikimedia.org/r/786281

Change 786281 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Add fallback MWElasticUtils class resolution for MW < 1.38

https://gerrit.wikimedia.org/r/786281

abi_ moved this task from In Progress to Done on the Language-Team (Language-2022-April-June) board.

Checked on our testing instance. Works fine now with Elastica REL1_36.