i installed porto theme. but not working theme. im using magento 2.4.2

Exception #0 (BadMethodCallException): Missing required argument $adapters of Magento\Search\Model\AdapterFactory.

1 Answer 1


This error is related to ElasticSearch as Magento 2.4 needs elastic search. Restart your elasticesearch using below command(linux) :

sudo service elasticsearch restart

If it works fine, then check from modules using below command :

php bin/magento module:enable Magento_Elasticsearch6 Magento_Elasticsearch Magento_Elasticsearch7

Also check ElasticSearch service in Stores > Settings > Configuration > Catalog > Catalog > Catalog Search

Clean all cache.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.