Service 'spamspan.twig.spamspan_filter' for consumer 'twig' does not implement Twig\\Extension\\ExtensionInterface

Created on 20 March 2024, 3 months ago
Updated 21 March 2024, 3 months ago

Problem/Motivation

I am running Drupal 10.2.4 and Spamspan 3.x-dev, and kept running into this error:

Uncaught PHP Exception Symfony\\Component\\DependencyInjection\\Exception\\LogicException: "Service 'spamspan.twig.spamspan_filter' for consumer 'twig' does not implement Twig\\Extension\\ExtensionInterface." at /var/www/public_html/web/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php line 184

I have not seen this mentioned in any of the issues in this module's queue, but maybe I missed it.

Steps to reproduce

Not sure. In my case, I just installed this module v 3.1.6 on D10.2.4 and that took down my site. Cache rebuild didn't help.

Proposed resolution

Patch forthcoming.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States caspervoogt

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

Comments & Activities

Production build 0.69.0 2024