TypeError in ImageCaptchaRenderService when using redirect_404

Created on 19 July 2023, over 1 year ago

Problem/Motivation

Getting this error when trying to view a image captcha:

TypeError: Drupal\image_captcha\Service\ImageCaptchaRenderService::__construct(): Argument #2 ($logger) must be of type Drupal\Core\Logger\LoggerChannelFactory, Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in /var/www/vhost.e-fork.local/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\image_captcha\Service\ImageCaptchaRenderService->__construct() (Zeile 59 in /var/www/vhost.e-fork.local/web/modules/contrib/captcha/modules/image_captcha/src/Service/ImageCaptchaRenderService.php)

Steps to reproduce

Enable image_captcha and the submodule redirect_404 from redirect.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany daveiano

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

Comments & Activities

Production build 0.71.5 2024