After updating data-migration-tool I get this error every time I try to run the command:

  Warning: Could not check compatibility between Migration\Logger\Logger::addRecord(int $level, string $message, array $context = Array, ?Migration\Logger\DateTimeImmutable $datetime = NULL): bool and Monolog\Logger::addRecord(int $level, string $message, array $context = Array,   
  ?Monolog\DateTimeImmutable $datetime = NULL): bool, because class Migration\Logger\DateTimeImmutable is not available in public_html/vendor/magento/data-migration-tool/src/Migration/Logger/Logger.php on line 34 

How can I come back to the earlier version of data-migration-tool? Is it possible or should I made changes in Logger file?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.