magepow/sameidalreadyexists
最新稳定版本:1.0.0
Composer 安装命令:
composer require magepow/sameidalreadyexists
包简介
Magento 2 SameIDAlreadyExists prevent duplicate entity_id
README 文档
README
Magento 2 SameIDAlreadyExists (with the same ID "X" already exists)
Sometime you can get error with in log var/log/debug.log or var/log/system.log as below:
Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "X" already exists.
or
Item (Magento\Catalog\Model\Category\Interceptor) with the same ID "X" already exists.
or
Item (Magento\Customer\Model\Customer\Interceptor) with the same ID "X" already exists
The error can cause when you migration database from Magento 1 to Magento 2 or something else. The error cause exist duplicate entity_id in database. You can find and fix it with command or install SameIDAlreadyExists to ignore it. if you want to fix the issue duplicate in your database you can use extension here to detect it Url data integrity checker module for Magento 2
Install Magento 2 SameIDAlreadyExists
Install via composer (recommend)
Run the following commands in Magento 2 root folder:
composer require magepow/sameidalreadyexists
php bin/magento module:enable Magepow_SameIDAlreadyExists
php bin/magento cache:flush
统计信息
- 总下载量: 930
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-08-26
