Unable to decode output into JSON: Syntax error

Created on 18 February 2024, 4 months ago
Updated 17 April 2024, 2 months ago

Hello and thanks for the module

Problem/Motivation

I want to migrate an upload field to media and when I go to enable your module, I get this error:

Unable to decode output into JSON: Syntax error                                                                            
                                                                                                                             
  TypeError: Drupal\files_to_media_migrate\Commands\FilesToMediaMigrate::__construct(): Argument #4 ($loggerFactory) must b  
  e of type Drupal\Core\Logger\LoggerChannelFactory, Drupal\redirect_404\Render\Redirect404LogSuppressor given in Drupal\fi  
  les_to_media_migrate\Commands\FilesToMediaMigrate->__construct() (line 69 of /var/www/html/donestech10.devel/web/modules/  
  contrib/files_to_media_migrate/src/Commands/FilesToMediaMigrate.php).  

Drupal 10.2.3 and php 8.1

Steps to reproduce

composer require 'drupal/files_to_media_migrate:^1.0' -W
drush en -y files_to_media_migrate

Have a good day

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain candelas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024