Page MenuHomePhabricator

Call to undefined method Elastica\Exception\Bulk\ResponseException::getResponse() in ElasticsearchIntermediary.php on line 171
Closed, ResolvedPublic

Description

could be i have wrong version of something although i don't think so.

When I run jobs, I get a fatal error:

Fatal error: Call to undefined method Elastica\Exception\Bulk\ResponseException::getResponse() in /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php on line 171

Call Stack:

0.0023     756144   1. {main}() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:0
0.0056    1287352   2. require_once('/Library/WebServer/Documents/php-master/maintenance/doMaintenance.php') /Library/WebServer/Documents/php-master/maintenance/runJobs.php:281
0.0978   18369008   3. RunJobs->execute() /Library/WebServer/Documents/php-master/maintenance/doMaintenance.php:109
2.0731   47888888   4. CirrusSearch\Job->run() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:110
2.0731   47888776   5. CirrusSearch\LinksUpdateJob->doJob() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Job.php:52
2.0744   48168392   6. CirrusSearch\Updater->updateFromTitle() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/LinksUpdateJob.php:47
2.0798   48182176   7. CirrusSearch\Updater->updatePages() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:67
2.1378   51097064   8. CirrusSearch\Updater->sendData() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:187
2.1437   51505232   9. CirrusSearch\ElasticsearchIntermediary->failure() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:257
2.1437   51505920  10. CirrusSearch\ElasticsearchIntermediary->extractMessageAndStatus() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php:97

Version: unspecified
Severity: normal

Details

Reference
bz66780

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:22 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz66780.
bzimport added a subscriber: Unknown Object (MLST).
aude created this task.Jun 18 2014, 1:03 PM

Uhg! Can you add the hashes of Elastica, CirrusSearch, and core just to be sure?
I'm on:

Elastica: 23b51bfd5949ceb77cfad07642e085d50dc38367
Cirrus: 8713ab602fcdac9168e451848fc774bde8d367e5
Core: aa6a876a712380ed52cb16b898500dd01b8488d5

If it isn't versions (I don't imagine it is) it might be that Elastica changed how it handles exceptions and we don't have a test that checks how we log it - specifically the BulkException, since that is always spun off in a job and our tests run in a browser. I'll pop this open in a few minutes and have a look.

Restricted Application added a project: Discovery. · View Herald TranscriptJan 28 2016, 5:56 PM