cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate Magento 1.9.4.4 to 2.4.x error (migration tool)

Migrate Magento 1.9.4.4 to 2.4.x error (migration tool)

Hi. I'm trying to migrate content and settings from magento 1.9.4.4 to 2.4.5 and I'm getting the following error:

 

[2023-01-05T10:36:48.188095+00:00][INFO][mode: data][stage: data migration][step: Tier Price Step]: started
0% [>---------------------------] Remaining Time: < 1 sec
In ErrorHandler.php line 62:

Deprecated Functionality: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/magento/vendor/magento/
data-migration-tool/src/Migration/Handler/SetValue.php on line 35

 

 

has anyone seen this before?

 

best regards

 

Jose 

2 REPLIES 2

Re: Migrate Magento 1.9.4.4 to 2.4.x error (migration tool)

We have the same issue, appears to be a php 8.1 issue with the data migration.

 

Did you get around this? try to see if using php7.4 will work just for the migration.

 

1.9.2.1 to 2.4.5

Re: Migrate Magento 1.9.4.4 to 2.4.x error (migration tool)

Replace src/Migration/Handler/SetValue.php with https://github.com/magento/data-migration-tool/blob/2.4-develop/src/Migration/Handler/SetValue.php and re-run migration, (fixed issue for us)