Magento – One or more indexers are invalid. Make sure your Magento cron job is running. (winadows LocalHost wampserver)

cronlocalhostmagento2

please help, i am using WAMP server 3 on windows and i have installed Magento 2.
but i am getting the following issue.

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

what is the solution for this one

and thanks
enter image description here

Best Answer

Magento allows indexing by cron and command line interface

If cron is setup in your server magento will automatically indexing all data but in your local environment cron will not work, so you need to manually run the indexing command from CMD

Use following command to run reindexing

'Magento root'/bin/magento indexer:reindex

It will reindex all the indexers but make sure php command must be set in global environment

Related Topic