PaulB
Well-known member
- Affected version
- 1.1.7
File: library/XenES/Search/SourceHandler/ElasticSearch.php
Line: 1113
Class: XenES_Search_SourceHandler_ElasticSearch
Method: isIndexSuccessful
Problematic line:
$record is the wrong variable here and will result in an exception. getTypeAndIdFromHit expects $record to be passed instead.
Line: 1113
Class: XenES_Search_SourceHandler_ElasticSearch
Method: isIndexSuccessful
Problematic line:
PHP:
$typeAndId = XenES_Api::getTypeAndIdFromHit($result);
$record is the wrong variable here and will result in an exception. getTypeAndIdFromHit expects $record to be passed instead.