cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot instantiate interface Magento\AdvancedSearch\Model\Client\ClientOptionsInterface

Cannot instantiate interface Magento\AdvancedSearch\Model\Client\ClientOptionsInterface

Hi guys,

 

I am deploying Magento 2.4.6 and everything seems to be working, except my Catalog Search Index. When trying to reindex, I am getting this error:

Catalog Search index process error during indexation process:

Cannot instantiate interface Magento\AdvancedSearch\Model\Client\ClientOptionsInterface

The AdvancedSearch module is enabled and so is the OpenSearch module, which is my search engine integration. Any idea what I should do?

Here is the list of disabled modules:

Magento_AdobeIms

Magento_AdobeImsApi

Magento_AdobeStockAdminUi

Magento_AdobeStockAssetApi

Magento_AdobeStockClient

Magento_AdobeStockClientApi

Magento_AdobeStockImage

Magento_AdobeStockImageApi

Magento_AdminAdobeIms

Magento_Dhl

Magento_Elasticsearch

Magento_Elasticsearch7

Magento_Fedex

Magento_InventoryElasticsearch

Magento_AdobeStockAsset

Magento_AdobeStockImageAdminUi

Magento_Paypal

Magento_PaypalGraphQl

Magento_AwsS3

Magento_AwsS3PageBuilder

Magento_Swagger

Magento_SwaggerWebapi

Magento_SwaggerWebapiAsync

Magento_TwoFactorAuth

Magento_AdminAdobeImsTwoFactorAuth

Magento_Ups

Magento_SampleData

Magento_Usps

Magento_PaypalCaptcha

Magento_Weee

Magento_WeeeGraphQl

PayPal_Braintree

PayPal_BraintreeGraphQl

Temando_ShippingRemover

1 REPLY 1

Re: Cannot instantiate interface Magento\AdvancedSearch\Model\Client\ClientOptionsInterface

I figured it out. The Magento_OpenSearch module requires the Magento_Elasticsearch module as well. Makes no sense to me and seems badly developed, but whatever.