Step8 delta default object from empty val migrateC

My deltas are failing on step 8 with the following error:

....PHP Error[2]: Creating default object from empty value
in file /var/www/vhosts/ at line 946
#0 /var/www/vhosts/ Step8Controller->_migrateCMSPages()
#1 /var/www/vhosts/ Step8Controller->actionRun()
#2 /var/www/vhosts/ RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /var/www/vhosts/ ReflectionMethod->invokeArgs()
#5 /var/www/vhosts/ RunCommand->run()
#6 /var/www/vhosts/ CConsoleCommandRunner->run()
#7 /var/www/vhosts/ CConsoleApplication->processRequest()
#8 /var/www/vhosts/ CConsoleApplication->run()
#9 /var/www/vhosts/ require_once()
#10 /var/www/vhosts/ require_once()

Any ideas?

3 answers

Profile photo of Mall Staff 158890.00 $tone May 22, 2020

Hi there,

….PHP Error[2]: Creating default object from empty value
in file /var/www/vhosts/ at line 946

That issue occurred because you did delete at least one CMS Page in M2 after the first migration. To solve that issue, you can do steps as follows:
+ Run the SQL query below in your M2 database:

DELETE FROM ub_migrate_map_step_8_cms WHERE entity_name = 'cms_page' AND m2_id NOT IN (Select page_id From cms_page);

+ Clean the 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.


Profile photo of ubdev Staff 76060.00 $tone May 24, 2020

Hi there, 
We’re glad that it helps. 
Our team has just replied to your other tickets as well, please check and follow up with us via those tickets. 
Ubertheme team


Please login or Register to Submit Answer

Written By