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.
The error message started to appear when the hosting service upgraded to PHP 5.4 with the default strict error setting.
The attached patch gets rid of this annoying error message in the most simpleminded way.
Comment | File | Size | Author |
---|---|---|---|
#5 | captcha_6_php5.4.patch | 671 bytes | gnassar |
Comments
Comment #1
superspring CreditAttribution: superspring commentedThis works for me.
Comment #3
yadranko CreditAttribution: yadranko commentedThe patch states:
sites/all/modules/contrib/captcha/captcha.inc instead of
sites/all/modules/captcha/captcha.inc without the contrib part.
That could be where the problem is.
Comment #4
gnassar CreditAttribution: gnassar commentedResubmitting with proper paths.
Comment #5
gnassar CreditAttribution: gnassar commentedActually, the problem is (also) that lines are truncated in the patch. Resubmitting with truncated lines fixed.
Comment #6
Liam MorlandIs this patch ready to go?
Comment #7
yan CreditAttribution: yan commentedPatch from #5 seems to solve the problem for me.
Comment #9
Liam MorlandThe patch needs to be re-rolled.
Comment #12
Liam MorlandFunny, the patch applies fine when I tried it.
Comment #13
Liam MorlandComment #14
wundo CreditAttribution: wundo commentedCommitted :)
Comment #19
Liam MorlandPatch is already applied.
Comment #20
vrajak@gmail.com CreditAttribution: vrajak@gmail.com as a volunteer commentedSorry, where is the patch applied? The dev version of Captcha 6.x? I have this error and I don't know if I should try and patch it, or just use the dev version..Thanks!
Comment #21
Liam MorlandIt was committed to 6.x-2.x. You'll have to use the development release to get it.