I’ve begun migrating the database but have encountered an error on Step 7.
Processing in step #7….PHP Error[8]: Undefined offset: 0
in file /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/controllers/Step7Controller.php at line 911
#0 /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/controllers/Step7Controller.php(681): Step7Controller->_migrateSalesRuleCustomerGroups()
#1 /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/controllers/Step7Controller.php(167): Step7Controller->_migrateSalesRules()
#2 /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/commands/RunCommand.php(52): Step7Controller->actionRun()
#3 /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/commands/RunCommand.php(40): RunCommand->_migrateData()
#4 unknown(0): RunCommand->actionIndex()
#5 /chroot/home/nodomain/no.domain/html/pub/ub-tool/yii/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#6 /chroot/home/nodomain/no.domain/html/pub/ub-tool/yii/console/CConsoleCommandRunner.php(71): RunCommand->run()
#7 /chroot/home/nodomain/no.domain/html/pub/ub-tool/yii/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#8 /chroot/home/nodomain/no.domain/html/pub/ub-tool/yii/base/CApplication.php(184): CConsoleApplication->processRequest()
#9 /chroot/home/nodomain/no.domain/html/pub/ub-tool/yii/yiic.php(33): CConsoleApplication->run()
#10 /chroot/home/nodomain/no.domain/html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#11 /chroot/home/nodomain/no.domain/html/bin/ubdatamigration(4): require_once()
I have some custom sales rules from another module, but can’t seem to disable the importation of sales rules so I’m currently stuck.
9 answers
Hi jklina,
I have some custom sales rules from another module, but can’t seem to disable the importation of sales rules so I’m currently stuck.
Yeah, sales rules is related of your sales_orders data. So we have required data migration for this.
That issue come from your special data with sales rules. So, let’s provide me the admin and SSH credentials of your Magento2.
I will check further and tell you workaround to solve that.
Regards,
Mall.
Sure, we can do that. This is just a staging server so there’s no harm.