CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘1’ for key ‘PRIMARY’. The SQL statement executed was: INSERT INTO `tax_calculation_rule` (`tax_calculation_rule_id`, `code`, `priority`, `position`, `calculate_subtotal`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4)
in migrating magento 1 to magento 2 i got error at last 9th step
1 answer
Hi Ashok,
Please try the workaround we explained in our reply via Github here.
Anyway, since we no longer maintain the old script on Github, so we’re sorry for not being of much help in case of the issues that might occur during the migration.
That’s why we did suggest you move forward with our UB Data Migration Pro module instead.
Thanks for your understanding.
Regards,
Ubertheme team