Hi there.
I have issues with categories No such entity with id.
That I migration the website. And I try to re-structure the categories some of the categories get No such entity with id issues at I cannot be saved or do anything. I have run all command line:
- php bin/magento indexer:reindex
- php bin/magento cache:enable
- php bin/magento cache:clean
- php bin/magento cache:flush
and tried again
- php bin/magento indexer:reset
- php bin/magento indexer:reindex
- php bin/magento cache:clean
- php bin/magento cache:flush
How to fix this isusse
it’s nice if you can help me with that.
Thanks
-
and I get also this issue Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 155
5 answers
Hi Ali About Khamis,
I have issues with categories No such entity with id.
When did you get that issue with categories?
And I try to re-structure the categories some of the categories get No such entity with id issues at I cannot be saved or do anything.
You did move category A to category B in the category tree, didn’t you? This seems that it relates to Magento’s function only, not our migration tool.
Could you re-proceed all steps of data migration with our tool in a new fresh M2 instance?
Regards,
Mall.
Ok. Yes, I have moved in the category tree and delete some of the categories. I think maybe can be caused the data migration, where I read this form about that issue: https://github.com/magento/magento2/issues/15223
Hi Ali Abou Khamis,
As mentioned in our first reply, it would be best to proceed with data migration once again on a new fresh M2 instance. If you run across any issue, then pause the process and let us know the details of the issue, we will follow up with you then.
Regards,
Ubertheme team
ok. know I have run it again. but I get this issue:
online-kiosken_1@phhw-200102:~$ cd public_html
online-kiosken_1@phhw-200102:~/public_html$ php bin/ubdatamigration run --step=6 --limit=200
[Processing][run] in step #6: .PHP Error[2]: Creating default object from empty value
in file /home/online-kiosken_1/public_html/pub/ub-tool/protected/controllers/Step6Controller.php at line 330
#0 /home/online-kiosken_1/public_html/pub/ub-tool/protected/controllers/Step6Controller.php(136): Step6Controller->_migrateCustomerGroups()
#1 /home/online-kiosken_1/public_html/pub/ub-tool/protected/commands/RunCommand.php(74): Step6Controller->actionRun()
#2 /home/online-kiosken_1/public_html/pub/ub-tool/protected/commands/RunCommand.php(33): RunCommand->_migrateData()
#3 unknown(0): RunCommand->actionIndex()
#4 /home/online-kiosken_1/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#5 /home/online-kiosken_1/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()
#6 /home/online-kiosken_1/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#7 /home/online-kiosken_1/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /home/online-kiosken_1/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()
#9 /home/online-kiosken_1/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()
#10 /home/online-kiosken_1/public_html/bin/ubdatamigration(4): require_once()
online-kiosken_1@phhw-200102:~/public_html$
Hi Ali Abou Khamis,
We did send an email to you a few hours ago regarding your subscription. Please check and follow up further with us there.
Regards,
Ubertheme team