Step6 error Creating default object from empty val

step 6 error Creating default object from empty value

6 answers

Profile photo of Mall Staff 184060.00 $tone March 25, 2019
Public

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.

#1
Profile photo of Net Admin 200.00 $tone March 26, 2019
Public

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 
 
 

#2
Profile photo of Mall Staff 184060.00 $tone March 26, 2019
Public

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.

#3
Profile photo of Mall Staff 184060.00 $tone March 27, 2019
Public

Hi Dan,

I checked and noticed that you had finished data migration in the step #6: http://i.prntscr.com/SjMD0BwoQB6peVLgzauvyA.png
Please follow up my answer for your another question at this post.
Regards,
Mall.

#6

Please login or Register to Submit Answer

Written By

Comments