0

My magento 2.2.1 website backend prompts "One or more indexers are invalid. Make sure your Magento cron job is running." How to solve this kind of error? Does it have a big impact?

enter image description here

marked as duplicate by Manashvi Birla, Jai, Mohit Kumar Arora, Priyank, sv3n Nov 22 '18 at 9:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • you need to run php bin/magento indexer:reindex command from your Magento project root – Hitesh Nov 22 '18 at 8:58
1

Please run the below command from your command line.

php bin/magento indexer:reindex

To resolve your indexer error.

If you want that to happen automatically then you will have to setup a cron job for that command to execute automatically.

  • If i don't handle it, will it affect the performance of your website? @Sourabh Kumar Sharma – nextion Nov 23 '18 at 15:47
  • If you run the required indexing manually when required, it won't affect the performance of your website. – Sourabh Kumar Sharma Nov 23 '18 at 16:05
  • thank you very much. I have cleaned up the index. @Sourabh Kumar Sharma – nextion Nov 23 '18 at 16:06
0

You need to setup Magento cron job so that reindexing will be handled by Magento. Or you need to run reindex command manually using command line.

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