Really Simple Captcha integration in Contact form widget broken
-
On a production site we noticed an issue with validating captchas, which always fail. On a fresh installation we tested it and could reproduce. It seems that during validation the postfix of fields is not correctly handled. This was logged in debug log:
[18-Mar-2025 11:21:44 UTC] PHP Warning: Undefined array key “really-simple-captcha” in /home/daniel/projects/wordpress/wp-content/plugins/so-widgets-bundle/widgets/contact/contact.php on line 1830
[18-Mar-2025 11:21:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/daniel/projects/wordpress/wp-content/plugins/really-simple-captcha/really-simple-captcha.php on line 249
- You must be logged in to reply to this topic.