Problem/Motivation

When trying to install the module I recieved this error.

The website encountered an unexpected error. Try again later.
Symfony\Component\DependencyInjection\Exception\LogicException: Service 'kint.twig_extension' for consumer 'twig' does not implement Twig\Extension\ExtensionInterface. in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass() (line 184 of core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php).
Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass() (Line: 118)
Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process() (Line: 80)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() (Line: 768)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1449)
Drupal\Core\DrupalKernel->compileContainer() (Line: 972)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 515)
Drupal\Core\DrupalKernel->boot() (Line: 739)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

I upgraded devel to 5.4.x, uninstalled devel_kint_extras, and install kint-kint:^2.1

Comments

jalite1991 created an issue. See original summary.

jnvsor’s picture

Hi, can you tell me what version of kint-php/kint-twig and twig/twig are installed according to your composer.lock?

jalite1991’s picture

Sure thing,

kint-php/kint-twig:
6.0

twig/twig:
v3.21.1

jalite1991’s picture

Update, After completely removing kint-kint and devel and reinstalling the packages, the modules installed just fime and with no errors. Sorry for the inconvience.

jalite1991’s picture

Status: Active » Closed (works as designed)

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.