Undefined index: ProductHelper.php on line 231

Community hello:

Newbie doing a new install on Magento v2.1.5

magenento indexer:reindex is failing with errors:

Notice: Undefined index: algoliasearch-magento-2/Helper/Entity/ProductHelper.php on line 231

on search_product and search_categories

reindex required on search_product and search_categories

using default parameters

My Algolia Dashboard and Magento backend Algolia config all accessible and look OK (to me at least…)

Any pointers?

thanks - GARRY

I’ve tried a few more times, to no avail. This is a new install…

$php bin/magento indexer:reset
$php bin/magento indexer:reindex algolia_products

Indexer process unknown error:
Notice: Undefined index: order in /html/vendor/algolia/algoliasearch-magento-2/Helper/Entity/ProductHelper.php on line 231

I do see products (16,000) in my Algolia dashboard products index


Hello Gary,

add attribute to categories to products’ attributes to index. That will do the trick :slight_smile: