Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: fwrdeu as a volunteer commentedGetting a confirmed role isn't easy ;) I'm developing on Drupal about 7yrs but now started with community...
Comment #3
fwrdeu CreditAttribution: fwrdeu as a volunteer commentedComment #4
gg24 CreditAttribution: gg24 as a volunteer and at QED42 commentedHi @fwrdeu,
I have tested the patch mentioned above and find it working fine. Hence marking this as RTBC.
Thanks!
Comment #5
hswong3i CreditAttribution: hswong3i commentedupdate #3 via latest 8.x-1.x-dev
Comment #7
elachlan CreditAttribution: elachlan commented