Fatal error: Uncaught Elasticsearch\Common\Exceptions\Missing404Exception: {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [sw_shop4_product]","resource.type":"index_or_alias","resource.id":"sw_shop4_product","index_uuid":"_na_","index":"sw_shop4_product"}],"type":"index_not_found_exception","reason":"no such index [sw_shop4_product]","resource.type":"index_or_alias","resource.id":"sw_shop4_product","index_uuid":"_na_","index":"sw_shop4_product"},"status":404} in /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:685
Stack trace:
#0 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(333): Elasticsearch\Connections\Connection->process4xxError(Array, Array, Array)
#1 /var/www/vendor/react/promise/src/FulfilledPromise.php(28): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array)
#2 /var/www/vendor/ezimuel/ringphp/src/Future/CompletedFutureValue.php(65): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#3 /var/www/vendor/ezimuel/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#4 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(264): GuzzleHttp\Ring\Core::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#5 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(241): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array, Object(Elasticsearch\Connections\Connection), Object(Elasticsearch\Transport), Array)
#6 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(109): Elasticsearch\Connections\Connection->performRequest('POST', '/sw_shop4_produ...', Array, '{"query":{"term...', Array, Object(Elasticsearch\Transport))
#7 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1924): Elasticsearch\Transport->performRequest('POST', '/sw_shop4_produ...', Array, Array, Array)
#8 /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1353): Elasticsearch\Client->performRequest(Object(Elasticsearch\Endpoints\Search))
#9 /var/www/vendor/shopware/shopware/engine/Shopware/Bundle/ESIndexingBundle/EsClientLogger.php(102): Elasticsearch\Client->search(Array)
#10 /var/www/custom/project/TspoCrossSelling/Subscriber/Subscriber.php(280): Shopware\Bundle\ESIndexingBundle\EsClientLogger->search(Array)
#11 /var/www/custom/project/TspoCrossSelling/Subscriber/Subscriber.php(167): TspoCrossselling\Subscriber\Subscriber->_getCrossSellingCategories(257369, '887', Object(Shopware\Bundle\ESIndexingBundle\IndexFactory), Object(Shopware\Bundle\ESIndexingBundle\EsClientLogger), Array)
#12 /var/www/custom/project/TspoCrossSelling/Subscriber/Subscriber.php(129): TspoCrossselling\Subscriber\Subscriber->getCrosSellingData(Object(Shopware_Proxies_ShopwareControllersFrontendDetailProxy), Object(Enlight_View_Default), 257369, Array)
#13 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): TspoCrossselling\Subscriber\Subscriber->showCrossSellingOnProductDetailPage(Object(Enlight_Controller_ActionEventArgs))
#14 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#15 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Action.php(202): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#16 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('indexAction')
#17 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#18 /var/www/vendor/shopware/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#19 /var/www/shopware.php(20): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#20 {main}
thrown in /var/www/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 685