We replaced watchdog with monolog module and there is incompatibility which causes errors on generating captcha images what means that they are not rendered at all.

The solution is to replace LoggerChannelInterface with PSRs LoggerInterface and remove watchdog constant with some relevant log level value.

I prepared a patch which will upload here after I get home and open my laptop :)

I hope you will find it useful and put it into next release of Captcha module after review and tests.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fwrdeu created an issue. See original summary.

fwrdeu’s picture

Getting a confirmed role isn't easy ;) I'm developing on Drupal about 7yrs but now started with community...

fwrdeu’s picture

gg24’s picture

Version: 8.x-1.0-beta1 » 8.x-1.x-dev
Status: Active » Reviewed & tested by the community

Hi @fwrdeu,

I have tested the patch mentioned above and find it working fine. Hence marking this as RTBC.

Thanks!

hswong3i’s picture

update #3 via latest 8.x-1.x-dev

  • elachlan committed 6f472b6 on 8.x-1.x authored by hswong3i
    Issue #2910900 by fwrdeu, hswong3i: Incompatibility with PSR-3 and...
elachlan’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.