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?
Asked
Active
Viewed 1,103 times
0
-
you need to run php bin/magento indexer:reindex command from your Magento project root – Hitesh Nov 22 '18 at 08:58
2 Answers
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.
Sourabh Kumar Sharma
- 963
- 7
- 19
-
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.
Kishan Patadia
- 5,609
- 3
- 24
- 36
