@Nishu Jindal During data migration
Notice: Undefined offset: 0 in /usr/share/nginx/html/abc/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 651
Hi @Aveeva ,
I found something related your error. Please try this. Please take backup of m2 database before doing any operation.
I encountered this error when I had orphaned records in catalog_eav_attribute in my destination database (not source database). The parent records in eav_attribute had been deleted. I'm not sure when this occurred, but I'm guessing it happened when we removed an extension that was not functioning properly.
I was able to correct the issue by running the following queries on my destination database:
SET SQL_SAFE_UPDATES = 0;
DELETE FROM catalog_eav_attribute WHERE attribute_id NOT IN (SELECT attribute_id FROM eav_attribute);
DELETE FROM eav_entity_attribute WHERE attribute_id NOT IN (SELECT attribute_id FROM eav_attribute);
SET SQL_SAFE_UPDATES = 1;
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!