error by delta command

Hey, when i run a delta command on step 5 I get the following error:
 
Creating default object from empty value
    in file /home/beerenss/public_html/pub/ub-tool/protected/controllers/Step5Controller.php at line 473
#0 /home/beerenss/public_html/pub/ub-tool/protected/controllers/Step5Controller.php(153): Step5Controller->_migrateCatalogProducts()
#1 /home/beerenss/public_html/pub/ub-tool/protected/commands/RunCommand.php(58): Step5Controller->actionRun()
#2 /home/beerenss/public_html/pub/ub-tool/protected/commands/RunCommand.php(28): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /home/beerenss/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /home/beerenss/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /home/beerenss/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /home/beerenss/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /home/beerenss/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()
#9 /home/beerenss/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /home/beerenss/public_html/bin/ubdatamigration(4): require_once()
 
Haw can this be solved?
 

7 answers

Profile photo of Mall Staff 184060.00 $tone October 8, 2019
Public

Hi there,

Creating default object from empty value
    in file /home/beerenss/public_html/pub/ub-tool/protected/controllers/Step5Controller.php at line 473

If you are using version 3.2.2 of our migration tool, you can do steps below:
Run below CLI command:
+ php -f bin/ubdatamigration clean --step=5
+ And then, you could continue with data migration in step #5.
php -f bin/ubdatamigration run --step=5
Regards,
Mall.

#1
Profile photo of Mall Staff 184060.00 $tone October 9, 2019
Public

Hi there,

All steps were reset successfully.

I wonder why you did reset?

Magento\Framework\Exception\NoSuchEntityException: The website with id 1 that was requested wasn’t found. Verify the website and try again.

It seems that you deleted the original default website in your M2 instance after the first migration. That issue occurred because there are some system config data records in the table ‘core_config_data’ which has the relationship with the website id =1. But after you reset, the website id =1 longer existed in the table ‘store_website’.

Can you start with our migration tool in a new M2 instance at your end?
 
If you want to continue with the current M2 instance, please provide me information of your instance:

  • URL and Admin credentials of your site
  • SSH credentials of your M2 instance
  • Lets me know the path to your M2 folder

I will help to check further and get back to you then.
 
Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments