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.
Solved! Go to Solution.
Just for knowledge I've solved this issue by enable the module of elasticsearch. It was disabled.
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
Start or restart the elastic search if you're using Magento 2.4.x version.