step:4 showing error

Hello,
I am migrating data from M1.9.x to 2.4.x version, when I started category (php bin/ubdatamigration run --step=4) it's showing me an error 
 
Status: fail
Message: CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1048
Column ‘parent_id’ cannot be null. The SQL statement executed was: UPDATE `catalog_category_entity` SET
`entity_id`=:yp0, `attribute_set_id`=:yp1, `parent_id`=:yp2, `created_at`=:yp3, `updated_at`=:yp4, `path`=:yp5,
`position`=:yp6, `level`=:yp7, `children_count`=:yp8 WHERE `catalog_category_entity`.`entity_id`=’137′

  1. Can you please reply me
  2. Getting lot of errors in step:4Message: CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'parent_id' cannot be null. The SQL statement executed was: UPDATE `catalog_category_entity` SET `attribute_set_id`=:yp0, `parent_id`=:yp1, `level`=:yp2, `entity_id`=:yp3, `created_at`=:yp4, `updated_at`=:yp5, `path`=:yp6, `position`=:yp7, `children_count`=:yp8 WHERE `catalog_category_entity`.`entity_id`='47'

1 answer

Profile photo of Mall Staff 184060.00 $tone February 5, 2021
Public

Hi Morris,

Please let me know what is the version of your M2 instance. Is your M2 instance a Magento Commerce Edition?

Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments