step 6 error Creating default object from empty value
6 answers
Hi there,
step 6 error Creating default object from empty value
It seem you did deleted at least one customer or customer address data after the first migration with our migration tool.
Lets try fix that issue by steps below:
+ Run below SQL in your M2 database:
DELETE FROM ub_migrate_map_step_6 WHERE entity_name = 'customer_group' AND m2_id NOT IN (Select customer_group_id From customer_group);
DELETE FROM ub_migrate_map_step_6 WHERE entity_name = 'customer_entity' AND m2_id NOT IN (Select entity_id From customer_entity);
DELETE FROM ub_migrate_map_step_6_customer_address WHERE entity_name = 'customer_address_entity' AND m2_id NOT IN (Select entity_id From customer_address_entity);
+ Once done, clean cache of our migration tool by run command in your terminal:
rm -rf pub/ub-tool/protected/runtime/cache/
+ And then, you could continue with data migration in the step #6 by run CLI command:
php -f bin/ubdatamigration run --step=6
Regards,
Mall.
Hello Mall,
i have follow above step.but next time error shown below:
step 6 error Creating default object from empty value
so give me solution
Hi there,
i have follow above step.but next time error shown below:
step 6 error Creating default object from empty value
If you did steps as my suggesting in reply #1 and the issue still persist. That is strange.
Lets provide me information about your instance:
+ Admin credentials and URL to back-end
+ SSH credentials and path to M2 folder
I will help to check further and get back you then.
Regards,
Mall.