Magento 2 – How to solve one or more indexers are invalid by command line?

[et_pb_section bb_built=”1″ admin_label=”section” transparent_background_fb=”default”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text”]

When i was starting to work on my magento project from scratch, i installed successfully but when i added two or three products but it was not displaying on homepage or category page. I though what will be issue. after search i found it was issue because i require to reindex of product. I again found how to reindex, i though it re-index from admin panel, but i couldn’t find any option in admin panel.

At Last i found i can solve “one or more indexers are invalid solved” error from command line, i open my terminal and go on root directory. I run bellow command on my root directory.


Re-index Command

php bin/magento indexer:reindex


After fire above command all the product reindex and i get products on category detail page and also solve issue from admin panel.


Leave a Reply

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