Captcha image not visible

Created on 10 August 2023, over 1 year ago
Updated 15 October 2023, about 1 year ago

Problem/Motivation

The image is generated as I can find it in db captcha_sessions/solution, but the image window is blank

Steps to reproduce

update Captcha from 2.0.4 > 2.0.5
environment:
drupal: 10.1.2
PHP: 8.2.8

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Image Captcha (image_captcha)

Created by

🇧🇪Belgium jjgw

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

Comments & Activities

  • Issue created by @jjgw
  • 🇧🇪Belgium jjgw

    I found next PHP error in the logfiles:
    TypeError: Drupal\image_captcha\Service\ImageCaptchaRenderService::__construct(): Argument #2 ($connection) must be of type Drupal\Core\Database\Connection, Drupal\Core\Logger\LoggerChannelFactory given, called in /var/www/blogs/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\image_captcha\Service\ImageCaptchaRenderService->__construct() (line 48 of /var/www/blogs/web/modules/contrib/captcha/modules/image_captcha/src/Service/ImageCaptchaRenderService.php).

  • First commit to issue fork.
  • Assigned to viren18febS
  • 🇮🇳India viren18febS

    Checking the issue!

  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India viren18febS

    Hi @jjgw
    Image captcha working for me in Drupal: 10.1.2 & Captcha 2.0.5. Issue not reproduced.

  • 🇧🇪Belgium jjgw

    In the meantime I uninstalled the module, removed from the modules directory and reinstalled again.
    Now it's working, except the refresh button isn't visible (but that 's not a great missing)
    Greetings

  • Status changed to Closed: cannot reproduce about 1 year ago
  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024