After you install Magento 2, you will see “One or more indexers are invalid. Make sure your Magento cron job is running” on the Magento 2 backend.

enter image description here

In fact, it’s only a reindex problem, which Magento 1 is very easily to reindex on backend but we could use Magento CLI to reindex for Magento 2. Now Web Dux will show you how to fix “One or more indexers are invalid. Make sure your Magento cron job is running” by Magento CLI.

Please go to the root folder of your magento 2 installation and run the below command :

php bin/magento indexer:reindex

That’s all, so you can go to your Magento 2 backend and check if it’s ok.

0 Likes
1357 Views

You may also like

2 Response Comments

  • ArmenDecember 7, 2016 at 8:15 pm

    I did the above suggested steps. However, I receive the following error: parse error in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93

    This is on a site that is hosted locally using MAMP on Mac OSX.

    Reply
  • antonioDecember 16, 2016 at 10:12 am

    Hello,
    I am new to magento.
    Please can you explain me how I should run this command: php bin/magento indexer:reindex
    I do not understand what I have to do

    Reply

Leave A Comment

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