Hello, We are doing data migration but getting below error. Could anyone please suggest a way.
M1 Version: 1.9.3.2
M2 Version: 2.3.5
[Exception]
Notice: Undefined offset: 19 in /var/www/html/<project>/vendor/magento/data-migration-
tool/src/Migration/Step/Eav/Data.php on line 286
Hi @ram1ranosy60db,
Can you try below fix mentioned in the file and check if this solves your issue or not.
https://github.com/magento/data-migration-tool/commit/ea9cc9f21d3634dd3695fd88f9c869d9535cb6a6
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Go to file src/Migration/Step/Eav/Data.php
and add below code
if (!isset($this->mapAttributeGroupIdsSourceDest[$record['attribute_group_id']])) { continue; }
Example:
foreach ($customEntityAttributes as $record) { if (!isset($this->mapAttributeGroupIdsSourceDest[$record['attribute_group_id']])) { continue; } $record['sort_order'] = $this->getCustomAttributeSortOrder($record); $record['attribute_group_id'] = $this->mapAttributeGroupIdsSourceDest[$record['attribute_group_id']]; $record['entity_attribute_id'] = null;
It may help!
Problem Solved? Please click on 'Kudos' & Accept as Solution!