Hello Team,
On step 8 we are facing below error
[Processing][delta] in step #8: PHP Error[2]: Creating default object from empty value
in file /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 860
#0 /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php(194): Step8Controller->_migrateCMSBlocks()
#1 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(74): Step8Controller->actionRun()
#2 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(33): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /srv/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /srv/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()
#9 /srv/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /srv/public_html/bin/ubdatamigration(4): require_once();
Please check and let me know as soon as possible.
Thanks
18 answers
Hi there,
[Processing][delta] in step #8: PHP Error[2]: Creating default object from empty value
in file /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 860
#0 /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php(194): Step8Controller->_migrateCMSBlocks()
That issue because you deleted at least one cms block in M2 after the first migration. To solve that issue you can do steps as following:
+ Run following SQL in your M2 database:
DELETE FROM ub_migrate_map_step_8_cms WHERE entity_name = 'cms_block' AND m2_id NOT IN (Select block_id From cms_block);
+ Clean cache of our module by run command:
rm -rf pub/ub-tool/protected/runtime/cache/
+ And then, you continue with data migration in step #8.
Regards,
Mall.
Thanks for the help .
Now again facing one issue in reviews migration :
Status: fail
Message: Mage2ReviewDetail: Title cannot be blank.
Please check and let me know as soon as possible.
Hi there,
Status: fail
Message: Mage2ReviewDetail: Title cannot be blank.
That issue occurred because your M1 database had at least on data record which had the bad data in the review_detail.title field.
To solve that issue, you have to delete that data record in your M1 database. You can run the following SQL query in your M1 database to delete:
Delete From review_detail where title = '' OR title IS NULL;
+ Once done, you can continue with the data migration in step #8.
Regards,
Mall.
Hello Team,
Facing below error
[Processing][delta] Step #8 migration completed with 6 TaxClass items;
PHP Error[8]: Trying to get property ‘attributes’ of non-object
in file /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 1564
#0 /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php(406): Step8Controller->_migrateTaxCalculationRate()
#1 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(74): Step8Controller->actionRun()
#2 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(33): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /srv/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /srv/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()
#9 /srv/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /srv/public_html/bin/ubdatamigration(4): require_once()
Please check this and let us know soon
Hi there,
[Processing][delta] Step #8 migration completed with 6 TaxClass items;
PHP Error[8]: Trying to get property ‘attributes’ of non-object
in file /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 1564
That issue occurred because you did delete at least one migrated tax calculation rate in M2, after the first migration.
To solve that you can do step as follows:
+ Run the SQL query below in your M2 database:
DELETE FROM ub_migrate_map_step_8 WHERE entity_name = 'tax_calculation_rate' AND m2_id NOT IN (SELECT tax_calculation_rate_id FROM tax_calculation_rate);
+ Clean cache of our module by running the command:
rm -rf pub/ub-tool/protected/runtime/cache/
+ And then, you can continue with the delta migration in step #8 as normal.
Regards,
Mall.
Hello Team,
I did tried to execute above query but its showing error. Please check this screen : https://prnt.sc/szu6yo
Please check and let me know as soon as possible.
Thanks !!
Hi there,
I did tried to execute above query but its showing error. Please check this screen : https://prnt.sc/szu6yo
I have edited the SQL in my reply #5. Please try again.
Regards,
Mall.
Hello ,
I have tried above query but did’t worked. Do you have any other solutions ??
Hi there,
Due to our current high workload, please give us a bit more time to follow up on your question. We will get back to you as soon as possible.
Thanks for your patience.
Regards,
Ubertheme team
Hello,
Ok but try to replay this as soon as possible.
Thanks
Hi there,
I have tried above query but did’t worked.
Did you see any error notice? And did you re-perform all steps as suggested in my reply #5?
Regards,
Mall.
Hello team,
I have followed all the steps but now below error appeared.
[Processing][delta] Step #8 migration completed with 78 TaxCalculationRate items;
…PHP Error[2]: Creating default object from empty value
in file /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php at line 1639
#0 /srv/public_html/pub/ub-tool/protected/controllers/Step8Controller.php(420): Step8Controller->_migrateTaxCalculationRule()
#1 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(74): Step8Controller->actionRun()
#2 /srv/public_html/pub/ub-tool/protected/commands/RunCommand.php(33): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /srv/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /srv/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /srv/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()
#9 /srv/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /srv/public_html/bin/ubdatamigration(4): require_once()
Line number changed : Step8Controller.php at line 1639
Please check above error and give me solution as soon as possible…
Thanks !!
Hello Team,
I have resolved above issue and done delta migration .
I am facing one more issue of records missing . For customer its shows : 354059 records are migrated ( screen :https://prnt.sc/t1prk9 ) but actual result is : 308728 ( screen :https://prnt.sc/t1ps3p ) .
Same issue for orders as well . Records are missing .
Please check this and let me know as soon as possible.
Thanks !!
Hi there,
For customer its shows : 354059 records are migrated ( screen :https://prnt.sc/t1prk9 )
That isn’t the total of customer being migrated, that is the total of customers our tool detected in your M1 database.
Did you finish data migration in step #6? If yes, did you reindex the data successfully after you completed data migration?
Same issue for orders as well . Records are missing .
Did you finish the data migration in step #7? Did you see any error message in the migration log of our migration tool at pub/ub-tool/protected/runtime/ub_data_migration.log?
Regards,
Mall.
Hello Team,
Did you finish data migration in step #6? If yes, did you reindex the data successfully after you completed data migration?
Answer : Yes i have finished data migration successfully also did reindex still same issue .
Did you finish the data migration in step #7? Did you see any error message in the migration log of our migration tool at pub/ub-tool/protected/runtime/ub_data_migration.log?
Answer : Yes finished step 7 . There are no errors in log . I did faced some errors of duplicate entries nothing else.
Hello.,
I have replied in this ticket : https://www.ubertheme.com/question/images-sort-order-is-not-same-as-magento-1/
Thanks !!
Hi there,
Yes, we will follow up on that ticket soon.
Regards,
Ubertheme team