Step 7 error:Trying to get property 'attributes'

Hello
Today I run step 7 again:
 

php -f /var/www/magento2/bin/ubdatamigration run --step=7 --mode=update --startDate='2021-01-10'

and now I have this error:
 
[Processing][delta] Step #7 migration completed with 14 record(s) in the ‘sales_order_status’ table.
………PHP Error[8]: Trying to get property ‘attributes’ of non-object
in file /var/www/magento2/pub/ub-tool/protected/controllers/Step7Controller.php at line 3668
#0 /var/www/magento2/pub/ub-tool/protected/controllers/Step7Controller.php(1635): Step7Controller->_migrateSalesOrderItem()
#1 /var/www/magento2/pub/ub-tool/protected/controllers/Step7Controller.php(310): Step7Controller->_migrateSalesOrders()
#2 /var/www/magento2/pub/ub-tool/protected/commands/RunCommand.php(80): Step7Controller->actionRun()
#3 /var/www/magento2/pub/ub-tool/protected/commands/RunCommand.php(36): RunCommand->_migrateData()
#4 unknown(0): RunCommand->actionIndex()
#5 /var/www/magento2/pub/ub-tool/yii-1.1.22/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#6 /var/www/magento2/pub/ub-tool/yii-1.1.22/console/CConsoleCommandRunner.php(71): RunCommand->run()
#7 /var/www/magento2/pub/ub-tool/yii-1.1.22/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#8 /var/www/magento2/pub/ub-tool/yii-1.1.22/base/CApplication.php(185): CConsoleApplication->processRequest()
#9 /var/www/magento2/pub/ub-tool/yii-1.1.22/yiic.php(33): CConsoleApplication->run()
#10 /var/www/magento2/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#11 /var/www/magento2/bin/ubdatamigration(4): require_once()
 
How to fix this ?
 
Ari
 

1 answer

Profile photo of Mall Staff 173210.00 $tone 6 days ago
Public

Hi there,

PHP Error[8]: Trying to get property ‘attributes’ of non-object
in file /var/www/magento2/pub/ub-tool/protected/controllers/Step7Controller.php at line 3668

Please try with steps as follows:
1. Run the CLI command:

php -f bin/ubdatamigration clean --step=7;

2. Once done, you continue with delta migration in step #7 as you did.
And tell me to know how it goes.
Regards,
Mall.
 

#1

Please login or Register to Submit Answer

Written By

Comments