magento / magento/data-migration-tool
Magento 1.9.3.9 to Magento 2.4.5 data migration issue str_replace()
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
===Preconditions===
Magento 1.9.3.9 to Magento 2.4.5 data migration
2.4.5 Data Migration
===Steps to reproduce===
php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.9/config.xml
===Expected result===
Successful Data Migration
===Actual result===
In ErrorHandler.php line 62:
Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in E:\xampp81\htdocs\m3\vendor\magento\d
ata-migration-tool\src\Migration\Handler\Placeholder.php on line 65
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the migration with php bin/magento migrate:data using the 1.9.3.9 config.xml. Start at vendor/magento/data-migration-tool/src/Migration/Handler/Placeholder.php line 65 and inspect the deprecated str_replace() call reported by ErrorHandler.php. Done means the migration completes successfully without this deprecation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100