Fatal error: Uncaught TypeError: Return value of Magento\Elasticsearch7\Model\Client\Elasticsearch::query() must be of the type array, string returned in /var/www/html/web/vendor/magento/module-elasticsearch-7/Model/Client/Elasticsearch.php:345 Stack trace: #0 /var/www/html/web/vendor/magento/module-elasticsearch/SearchAdapter/Dynamic/DataProvider.php(158): Magento\Elasticsearch7\Model\Client\Elasticsearch->query(Array) #1 /var/www/html/web/vendor/magento/framework/Search/Dynamic/Algorithm/Auto.php(82): Magento\Elasticsearch\SearchAdapter\Dynamic\DataProvider->getAggregations(Object(Magento\Framework\Search\Dynamic\EntityStorage)) #2 /var/www/html/web/vendor/magento/framework/Search/Dynamic/Algorithm/Auto.php(63): Magento\Framework\Search\Dynamic\Algorithm\Auto->getMaxPriceInt(Object(Magento\Framework\Search\Dynamic\EntityStorage)) #3 /var/www/html/web/vendor/magento/framework/Search/Dynamic/Algorithm/Auto.php(47): Magento\Framework\Search\Dynamic\Algorithm\Auto->getRange(Object(Magento\Framework\Search\Request\Aggregatio in /var/www/html/web/vendor/magento/module-elasticsearch-7/Model/Client/Elasticsearch.php on line 345