magento2 - Magento 2.2.4 + Database migration Undefined offset: 1 vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 291
问题描述
I am doing database migration from magento 1.9.3.7 to magento 2.2.4.
When i run below command
php bin/magento migrate:data --reset path of config.xml
Then below issue is occur's
Notice: Undefined offset: 1 in vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 291
When i re-run command then
Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key 'EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_ATTRIBUTE_SET_
NAME'
i have reinstall magento fresh Database and again i have found these issue.
Please suggest me how it can fix.
解决方案
推荐阅读
- android - 如何在相机预览中显示标记
- android - 任何库来读取 android 中的 mdict *.MDX 文件?
- single-page-application - PWA 工作箱向导在第一步后停止
- python - Seaborn barplot 不受支持的数据类型
- scala - 内存不足错误的 Spark 配置
- c - scanf和指针的误区
- java - 防止谷歌地图中当前位置的两个标记
- python - Django: NoReverseMatch 在''。“ ”不是有效的视图函数或模式名称
- php - 在 PHP 中格式化字符串的正则表达式或类似 sprintf 的函数
- c# - 在foreach中显示/隐藏div不起作用