On re-indexing product attribute I have found below error :
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
xxxxxxx
.catalog_product_index_eav
, CONSTRAINTFK_CAT_PRD_IDX_EAV_ENTT_ID_CAT_PRD_ENTT_ENTT_ID
FOREIGN KEY (entity_id
) REFERENCEScatalog_product_entity
(entity_id
) ON DELE), query was: INSERT INTOcatalog_product_index_eav
(entity_id
,attribute_id
,store_id
,value
) SELECTcatalog_product_index_eav_idx
.entity_id
,catalog_product_index_eav_idx
.attribute_id
,catalog_product_index_eav_idx
.store_id
,catalog_product_index_eav_idx
.value
FROMcatalog_product_index_eav_idx
ON DUPLICATE KEY UPDATEentity_id
= VALUES(entity_id
),attribute_id
= VALUES(attribute_id
),store_id
= VALUES(store_id
),value
= VALUES(value
)There was a problem with reindexing process.
Anyone has any suggestion?