One or more indexers are invalid. Make sure your Magento cron job is running

After installed Magento 2, you will see one notice “One or more indexers are invalid. Make sure your Magento cron job is running.” when you login as admin.

For Magento 1.x, we just need to reindex for similar case, but for Magento 2.x, we can go to the CLI and then the root folder of your magento installation and run the below command :

php bin/magento indexer:reindex

if you want to reindex only one indexer then write following command:

php bin/magento indexer:reindex indexer_name

where indexer_name can be found by typing following command :

php bin\magento indexer:info

Make sure your Magento cron job is running

We can use followed command to make sure Magento cron job is running

php bin/magento cron:run
0 Likes
433 Views

You may also like

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter message.