使用 dmesg 来查看一些硬件或驱动程序的信息或问题。

zabbix5.0连接ES,PHP报错,报错如下

Elasticsearch | 作者 zhou_elk | 发布于2020年05月19日 | 阅读数:1683

array_key_exists() expects parameter 2 to be array, string given [jsrpc.php:88 → CScreenHistory->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHistory->get() → CHistory->getFromElasticsearch() → CElasticsearchHelper::addSort() → array_key_exists() in include/classes/helpers/CElasticsearchHelper.php:351]
 
ES的版本是6.2.4
已邀请:

kepmoving - 90后

赞同来自:

expects parameter 2 to be array, string given

要回复问题请先登录注册