error in step 8

When I run the command: php -f bin/ubdatamigration run --step=8 --mode=update I get this error:
Processing in step #8……..(Continued) migrated data in step #8 ok with 5 TaxClass items.
Processing in step #8…………………………………………………………………………………………………………….PHP Error[2]: Invalid argument supplied for foreach()
    in file /home/jukeboxs/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 1257
#0 /home/jukeboxs/public_html/pub/ub-tool/protected/controllers/Step8Controller.php(352): Step8Controller->_migrateTaxCalculationRate()
#1 /home/jukeboxs/public_html/pub/ub-tool/protected/commands/RunCommand.php(58): Step8Controller->actionRun()
#2 /home/jukeboxs/public_html/pub/ub-tool/protected/commands/RunCommand.php(28): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /home/jukeboxs/public_html/pub/ub-tool/yii/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /home/jukeboxs/public_html/pub/ub-tool/yii/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /home/jukeboxs/public_html/pub/ub-tool/yii/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /home/jukeboxs/public_html/pub/ub-tool/yii/base/CApplication.php(184): CConsoleApplication->processRequest()
#8 /home/jukeboxs/public_html/pub/ub-tool/yii/yiic.php(33): CConsoleApplication->run()
#9 /home/jukeboxs/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /home/jukeboxs/public_html/bin/ubdatamigration(4): require_once()
 
Can’t find anything wrong in front or back end

1 answer

Profile photo of Mall Staff 107560.00 $tone August 13, 2017
Public

Hi there,
That issue because you have deleted some records in the table tax_calculation_rate after the first migration successfully with our tool.
I have directly fixed in your M2 database to solve that issue. Now you can continue with data migration in the step #8: http://i.prntscr.com/dwTOMGoBQOicmsmFT4RpZA.png
Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments