fatal error in migrating sales orders

 Hello, I got a fatal error with the migration of my orders. I get this error on one order and than the run stops. I checked this order in M1, this is an order with a bundel product. This product was long time ago deleted in M1, so it is not in M2 as well. How can I solve this?

3 answers

Profile photo of Mall Staff 184060.00 $tone December 20, 2016

Hi Albert,

I got a fatal error with the migration of my orders

Yeah, it come from you have some special data with bundle products in Magento1 database.
To solve that, i have added more tweak code in the php file at path /pub/ub-tool/protected/controllers/Step7Controller.php
And here is my run for testing: http://i.prntscr.com/d8ddc83288f440faafcf54a1e67bd5da.png
Let’s continue with data migration for step #7 and step #8
You can use CLI commands to continue with data migration.
Open your Terminal, go to your Magento2 folder and run below command:
php -f bin/ubdatamigration run --step=7
For step #8:
php -f bin/ubdatamigration run --step=8


Please login or Register to Submit Answer

Written By