magento / magento/data-migration-tool

Errore after installing data migration tool 2.4.8.1

Open
#931 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

Clean install of magento 2.4.8
composer require magento/data-migration-tool:2.4.8.1
php bin/magento setup:upgrade
php bin/magento setup:di:compile

In compilation time error:

In ErrorHandler.php line 61:

Deprecated Functionality: Migration\ResourceModel\Record::__construct(): Implicitly marking parameter $document as nullable is deprecated, the explicit nullabl
e type must be used instead in /home/dev/www/public_html/vendor/magento/data-migration-tool/src/Migration/ResourceModel/Record.php on line 34

Contributor guide

Open the contributing guide

Research direction

Reproduce the clean-install steps with Magento 2.4.8 and data-migration-tool 2.4.8.1, then inspect vendor/magento/data-migration-tool/src/Migration/ResourceModel/Record.php around line 34 and the reported PHP deprecation. Done means setup:upgrade and setup:di:compile complete without this deprecation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.