I’m trying to run one client’s website with some old database and code but without success. My attempts to open the browser return the ERR_CONNECTION_REFUSED error.
Apache logs don’t have any errors.
All I have is an error message in the terminal when I try to run any of Drush commands:
SymfonyComponentDependencyInjectionExceptionParameterNotFoundException: You have requested a non-existent parameter "monolog.channel_handlers". Did you mean one of these: "mysite_api.monolog.channel_handlers.auto_register", "mysite_dst.monolog.channel_handlers.auto_register", "mysite_ebk.monolog.channel_handlers.auto_register", "mysite_lpos.monolog.channel_handlers.auto_register", "mysite_travel.monolog.channel_handlers.auto_register"? in /var/www/html/mywebsite/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php on line 102 #0 /var/www/html/mywebsite/vendor/symfony/dependency-injection/Container.php(133): SymfonyComponentDependencyInjectionParameterBagParameterBag->get() #1 /var/www/html/mywebsite/docroot/modules/custom/mysite_tools/src/MysiteToolsServiceProvider.php(34): SymfonyComponentDependencyInjectionContainer->getParameter() #2 /var/www/html/mywebsite/docroot/modules/custom/mysite_tools/src/MysiteToolsServiceProvider.php(17): Drupalmysite_toolsMysiteToolsServiceProvider->autoRegisterMonologChannelHandlers() #3 /var/www/html/mywebsite/docroot/core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php(30): Drupalmysite_toolsMysiteToolsServiceProvider->alter() #4 /var/www/html/mywebsite/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): DrupalCoreDependencyInjectionCompilerModifyServiceDefinitionsPass->process() #5 /var/www/html/mywebsite/vendor/symfony/dependency-injection/ContainerBuilder.php(789): SymfonyComponentDependencyInjectionCompilerCompiler->compile() #6 /var/www/html/mywebsite/docroot/core/lib/Drupal/Core/DrupalKernel.php(1335): SymfonyComponentDependencyInjectionContainerBuilder->compile() #7 /var/www/html/mywebsite/docroot/core/lib/Drupal/Core/DrupalKernel.php(916): DrupalCoreDrupalKernel->compileContainer() #8 /var/www/html/mywebsite/vendor/drush/drush/lib/Drush/Drupal/DrupalKernel.php(61): DrupalCoreDrupalKernel->initializeContainer() #9 /var/www/html/mywebsite/docroot/core/lib/Drupal/Core/DrupalKernel.php(477): DrushDrupalDrupalKernel->initializeContainer() #10 /var/www/html/mywebsite/vendor/drush/drush/lib/Drush/Boot/DrupalBoot8.php(154): DrupalCoreDrupalKernel->boot() #11 /var/www/html/mywebsite/vendor/drush/drush/includes/bootstrap.inc(354): DrushBootDrupalBoot8->bootstrap_drupal_full() #12 /var/www/html/mywebsite/vendor/drush/drush/includes/bootstrap.inc(509): drush_bootstrap() #13 /var/www/html/mywebsite/vendor/drush/drush/includes/bootstrap.inc(456): drush_bootstrap_max() #14 /var/www/html/mywebsite/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(59): drush_bootstrap_to_phase() #15 /var/www/html/mywebsite/vendor/drush/drush/includes/preflight.inc(67): DrushBootBaseBoot->bootstrap_and_dispatch() #16 phar:///usr/local/bin/drush/bin/drush.php(153): drush_main() #17 /usr/local/bin/drush(10): require(‘phar:///usr/loc…’) #18 {main} Drush command terminated abnormally due to an unrecoverable error.
I discovered that this is a result of the Monolog module. When I tried to uninstall it, I also got this error again.
The Monolog version is 8.x-1.3 (also tried to update it).
Drupal Core version is 8.9.20.