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?
2 Answers
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– nextionNov 23, 2018 at 15:47
-
If you run the required indexing manually when required, it won't affect the performance of your website. Nov 23, 2018 at 16:05
-
thank you very much. I have cleaned up the index. @Sourabh Kumar Sharma– nextionNov 23, 2018 at 16:06
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.