The issue is here:
ch-captcha/custom-captcha/phptextClass.php: header('Content-Type: image/jpeg');/* defining the image type to be shown in browser widow */
You generate the captcha as a base64 data string, but you’re telling the browser to treat the *entire page* as image/jpeg with that header() call.
I’ve commented it out on one of my client’s sites and it works again.
This is a plugin-breaking issue.
Hi Punk, just had this issue too.
First of all, check your plugin version. For me, the plugin on the install was version 1.5, and did not have any prompt to update the plugin.
However, the plugin version on the directory is now 3.2. Removing the old plugin and adding the new one seems to have resolved the issue.