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(221): Magento\Elasticsearch7\Model\Client\Elasticsearch->query(Array) #1 /var/www/html/web/vendor/magento/framework/Search/Dynamic/Algorithm/Auto.php(48): Magento\Elasticsearch\SearchAdapter\Dynamic\DataProvider->getAggregation(Object(Magento\Framework\Search\Request\Aggregation\DynamicBucket), Array, 10000000, Object(Magento\Framework\Search\Dynamic\EntityStorage)) #2 /var/www/html/web/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Dynamic.php(48): Magento\Framework\Search\Dynamic\Algorithm\Auto->getItems(Object(Magento\Framework\Search\Request\Aggregation\DynamicBucket), Array, Object(Magento\Framework\Search\Dynamic\EntityStorage)) #3 /var/www/html/ in /var/www/html/web/vendor/magento/module-elasticsearch-7/Model/Client/Elasticsearch.php on line 345