Magento Tutorials

Magento 2 error: One or more indexers are invalid

magento-2-error-indexers-invalid

In Magento 2, after you change your system configurations, there will be a system message saying “One or more indexers are invalid. Make sure your Magento cron job is running.

One or more endexers are invalid
One or more endexers are invalid – Magento 2

What is Magento cron job?

Several Magento features require at least one cron job, which schedules activities to occur in the future. A partial list of these activities follows:

  • Catalog price rules
  • Newsletters
  • Generating Google sitemaps
  • Customer Alerts/Notifications (product price change, product back in stock)
  • Reindexing
  • Private sales (Magento Commerce only)
  • Automatic updating of currency rates
  • All Magento e-mails (including order confirmation and transactional)

Magento depends on proper cron job configuration for many important system functions, including indexing. Failure to set it up properly means Magento won’t function as expected.

How to solve it?

To get rid of this message, you need to perform reindex task using command line.

1. Open your command line tool (SSH or Terminal)
ssh login

2. Go to your Magento 2 root folder
magento 2 root folder

3. Type this command to reindex:

php bin/magento indexer:reindex

magento indexer reindex

4. Go back to your backend, close the popup message and refresh the page.
Magento 2 indexers invalid

 

See more:
Warning: Your Magento folder does not have sufficient write permissions
Magento 2 “Invalid Form Key”

Magento 2 error: One or more indexers are invalid
5 (100%) 1 vote
6 Comments

Dom

A knowledge craver who always strive to be wiser everyday.

    6 Comments

    1. How to Stop Brute Force Attack on Magento 2 - SimiCart Blog
      11/24/2017 at 12:25 am

      […] more: Magento 2 Error: One or more indexers are invalid Catalog Price Rules not working in Magento […]

    2. Magento 403 Forbidden Error - M commerce blog - SimiCart
      11/24/2017 at 12:41 am

      […] more: Magento 2 Error: One or more indexers are invalid Warning: Your Magento folder does not have sufficient write […]

    3. Magento 2 "Invalid Form Key" - M commerce blog - SimiCart
      11/24/2017 at 12:46 am

      […] more: Magento 2 Error: One or more indexers are invalid Warning: Your Magento folder does not have sufficient write […]

    4. [Solved] Your Magento folder does not have sufficient write permissions
      12/04/2017 at 9:35 pm

      […] See more: Magento 2 “Invalid Form Key” Magento 2 Error: One or more indexers are invalid […]

    5. How to solve "There has been an error processing your request" - SimiCart
      12/04/2017 at 11:42 pm

      […] See more: Catalog Price Rules not working in Magento 2 Magento 2 Error: One or more indexers are invalid […]

    6. How to Remove Block from Layout in Magento 2 - Tutorials - SimiCart
      12/07/2017 at 8:03 pm

      […] Magento 2 Error: One or more indexers are invalid Catalog Price Rules not working in Magento 2 […]

    Reply your comment

    Your email address will not be published. Required fields are marked*