Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -26,7 +26,7 @@ class _Index extends \IPS\Content\Search\Index
|
||||
* @brief Elasticsearch version requirements
|
||||
*/
|
||||
const MINIMUM_VERSION = '6.0.0';
|
||||
const UNSUPPORTED_VERSION = '8.0.0';
|
||||
const UNSUPPORTED_VERSION = '7.7.0';
|
||||
|
||||
/**
|
||||
* @brief The server URL
|
||||
@@ -212,7 +212,7 @@ class _Index extends \IPS\Content\Search\Index
|
||||
|
||||
if( $error = $this->getResponseError( $r ) )
|
||||
{
|
||||
throw new \IPS\Content\Search\Elastic\Exception( $error['type'] . ' ' . $error['type'] );
|
||||
throw new \IPS\Content\Search\Elastic\Exception( $error['type'] . ': ' . $error['reason'] );
|
||||
}
|
||||
|
||||
/* Views / Comments / Reviews */
|
||||
@@ -910,7 +910,7 @@ class _Index extends \IPS\Content\Search\Index
|
||||
$item = $itemClass::load( $indexItemId );
|
||||
|
||||
$where = NULL;
|
||||
if( $ignoreId !== NULL )
|
||||
if( $ignoreId !== NULL AND isset( $itemClass::$commentClass ) )
|
||||
{
|
||||
$commentClass = $itemClass::$commentClass;
|
||||
$commentIdColumn = $commentClass::$databaseColumnId;
|
||||
|
||||
Reference in new issue
Block a user