简体   繁体   中英

Magento Error-“One or more indexers are invalid. Make sure your Magento cron job is running.”

I am new to Magento. When I try to install Magento to Localhost it gives below Error-

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


Below is Screen Shot:

在此处输入图片说明

I have tried the following to re index the Indexer -

php bin/magento indexer:reindex

I did not find any help with above.

Why is this Error happening ? Please help me to solve this Error.

open magento folder and hold shift +right click ->use command window here and then write :-

php bin/magento indexer:reindex

and hit enter wait for some time to process

要在 Magento 2 中重新索引,请转到CLI ,然后转到 Magento 安装的root folder并运行以下命令:

php bin/magento indexer:reindex

You have to reindex all of indexes using cmd command.

php bin/magento indexer:reindex

For more command please find over http://devdocs.magento.com/guides/v2.1/config-guide/cli/config-cli-subcommands-index.html

This is not an error, whenever you install magento it requires to build indexes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM