Possible bug report – Broken CAPTCHA
-
In case this is helpful to the developer or others:
I encountered an issue where the pop-up window with the CAPTCHA either had a broken image or the background image (white-wave.png) appeared but with no CAPTCHA code. This message was in my PHP error log: PHP Warning: imagettftext(): Could not find/open font in captcha.php on line 40
I was able to fix this by changing line 35 in captcha.php so that it is “$font = __DIR__ . ‘/images/coolvetica.ttf’;”
OTHER DETAILS:
-Running WordPress 5.0.2
-WP-Limit-Login version 2.6.3
-GD library enabled
-PHP 7.2.7
-IIS 8OTHER NOTES
I did not encounter this problem on my local development server. It is on a Mac running Apache with PHP 7.3, same WordPress version and same plugin version installed. I initially thought it might have been a permissions issue on IIS, but if that was the case then changing the code wouldn’t have solved it.
- The topic ‘Possible bug report – Broken CAPTCHA’ is closed to new replies.