Hi. I receive the fallowing error when trying to migrate sales data:
Fatal error:  operator not supported for strings in xxxx-xxx-xxx/m2/pub/ub-tool/protected/controllers/MigrateController.php on line 2885
It gets stuck on importing shipments. Orders, payment, quotes and invices are imported.
Can you please help me? It’s important! Thank you
Hi Me Still Me,
That issues because the data in table `sales_shipment_grid` in your database of Magento1 has some data wasn’t accepted in Magento2.
Let’s provide me the SSH credentials of your server in a private reply. I will check further current your working and tell you solution to solve.
Meanwhile I managed to narrow it down. I read your answer after that. Yes, you are right apparently in M2 the table sales_shipment_grid has some new fields. One of them was customer_name which is limited to 128 varchar. I solved it by skipping the shimpets with customer’s name longer than that. But now I have another question. All steps completed successfully, copied media folder, resaved all attributes sets, reindexed all, flushed cache and updated hash algo. Everything seems to be in place except the product-category associations. Tere are no products asociated to cateroies at this time. Does your extension import this kind of data or not? I see the product counters on each category in cat tree but there are no products associated with them. Any ideeas?
Another big issue. Store ID’s are not migrated “as is” but instead they are incremented. Please look at the image below:
My store_id’s in M1 are: 0,1,2,3,4,11, 12, 13 in “core_store” table.
After migration store_id’s in M2 become: 0,1, 2, 3, 4, 5, 6, 7 in “store” table.
Can you please sugest what is the problem? Because of that, everything is upside down. I have products in M2 published in store id 11 for example (after migration) and when I try to save them, of course it throws an error saying invalid store. And that’s only one minor issue..but there are others. What is the cause of this?