Hi, guys,
I am a beginner in using Magento. Our shop runs on Magento CE 2.3.4 and I have problems reindexing through CLI.
All are reindexed fine, except one: Smart Category Product Rule.
I tried to reindex it individually, by running indexer:reindex smartcategory_product, but nothing happens. No error, nothing. I tried it several times and the same result.
In admin I receive the same warning that the indexer needs to be reindexed.
What could be the cause of this?
Many thanks,
Robert.
@robertsandcca6Not sure how your command are working and you do not have php specified in your command. Possibly you have 'PHP' setup in your path/environment variable.
Did you try updating your indexer to run by schedule. If your cron is working then it will take care of indexing by itself.
Hello @robertsandcca6
Please run:
php bin/magento indexer:reset php bin/magento indexer:reindex
It should work for you, try it.
Hi @robertsandcca6
Please refer below URL :
https://www.mageplaza.com/kb/how-reindex-magento-2.html
It will help you to resolve issue.