
Magento 1.x – Fix “Cannot initialize the indexer process” when reindexing on admin.
This message usually occurred when we Enable “Use Flat Catalog Category” and “Use Flat Catalog Product”, or after setting up an environment, we are missing any catalog related table.
First step, is trying to run the reindex processes manually via CLI, like this:
1 2 3 4 5 |
php shell/indexer.php --reindex catalog_category_flat php shell/indexer.php --reindex catalog_category_product php shell/indexer.php --reindex catalogsearch_fulltext |
Then, you should try reindexing all:
1 |
php shell/indexer.php --reindexall |
After that, clear magento cache and you should be done.
Note: If any error appear, like a missing table, it will be displayed when trying to reindex in your console, and you should be able to fix it up.