cancel
Showing results for 
Search instead for 
Did you mean: 

Missing required argument $engines

SOLVED

Missing required argument $engines

Hi Friends,

 

I faced a problem when I try to reindex, I got the following error :


Catalog Search index process unknown error:
Missing required argument $engines of Magento\Search\Model\EngineResolver.

 

Please note that I used elasticsearch 7 and it's worked fine.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Missing required argument $engines

Hi,

Just for knowledge I've solved this issue by enable the module of elasticsearch. It was disabled.

View solution in original post

3 REPLIES 3

Re: Missing required argument $engines

Update :

 

I've did setup:compile.

And now I got the following error :

Catalog Search index exception: Type Error occurred when creating object: Magento\Search\Model\EngineResolver, Argument 2 passed to Magento\Search\Model\EngineResolver::__construct() must be of the type array, null given, called in /home/nectarksa/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121

Re: Missing required argument $engines

@infonectar9054 

Start or restart the elastic search if you're using Magento 2.4.x version.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Missing required argument $engines

Hi,

Just for knowledge I've solved this issue by enable the module of elasticsearch. It was disabled.