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.
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