- Issue created by @DhruvR
- Status changed to Closed: duplicate
10 months ago 9:34am 12 March 2024
I have installed this module in opigno 3. On installation faced an error on site .
[error] TypeError: Drupal\config_rewrite\ConfigRewriter::__construct(): Argument #4 ($file_system) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileService given, called in /var/www/html/insafe_opigno3/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\config_rewrite\ConfigRewriter->__construct() (line 68 of /var/www/html/insafe_opigno3/web/modules/contrib/config_rewrite/src/ConfigRewriter.php) #0 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\config_rewrite\ConfigRewriter->__construct()
#1 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#2 /var/www/html/insafe_opigno3/web/core/lib/Drupal.php(207): Drupal\Component\DependencyInjection\Container->get()
#3 /var/www/html/insafe_opigno3/web/modules/contrib/config_rewrite/config_rewrite.module(19): Drupal::service()
#4 [internal function]: config_rewrite_module_preinstall()
#5 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(426): call_user_func_array()
#6 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#7 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(433): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#8 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php(264): Drupal\Core\Extension\ModuleHandler->invokeAll()
#9 /var/www/html/insafe_opigno3/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install()
#10 /var/www/html/insafe_opigno3/vendor/drush/drush/src/Drupal/Commands/pm/PmCommands.php(94): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install()
#11 [internal function]: Drush\Drupal\Commands\pm\PmCommands->install()
#12 /var/www/html/insafe_opigno3/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#13 /var/www/html/insafe_opigno3/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#14 /var/www/html/insafe_opigno3/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#15 /var/www/html/insafe_opigno3/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(391): Consolidation\AnnotatedCommand\CommandProcessor->process()
#16 /var/www/html/insafe_opigno3/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#17 /var/www/html/insafe_opigno3/vendor/symfony/console/Application.php(1039): Symfony\Component\Console\Command\Command->run()
#18 /var/www/html/insafe_opigno3/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application->doRunCommand()
#19 /var/www/html/insafe_opigno3/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#20 /var/www/html/insafe_opigno3/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run()
#21 /var/www/html/insafe_opigno3/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun()
#22 /var/www/html/insafe_opigno3/vendor/drush/drush/drush.php(79): Drush\Runtime\Runtime->run()
#23 /var/www/html/insafe_opigno3/vendor/drush/drush/drush(4): require('...')
#24 /var/www/html/insafe_opigno3/vendor/bin/drush(119): include('...')
#25 {main}.
Closed: duplicate
3.4
Code