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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | captcha-psr_log_loggerinterface-2910900-5.patch | 3.24 KB | hswong3i |
Comments
Comment #2
fwrdeu commentedGetting a confirmed role isn't easy ;) I'm developing on Drupal about 7yrs but now started with community...
Comment #3
fwrdeu commentedComment #4
gg24 commentedHi @fwrdeu,
I have tested the patch mentioned above and find it working fine. Hence marking this as RTBC.
Thanks!
Comment #5
hswong3i commentedupdate #3 via latest 8.x-1.x-dev
Comment #7
elachlan commented