magento / magento/data-migration-tool

Magento 1.9.3.9 to Magento 2.4.5 data migration issue str_replace()

Open
#910 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.