Drupal 8.8 update caused reCAPTCHA error with Webform

Created on 12 December 2019, over 4 years ago
Updated 7 August 2023, 11 months ago

Hello,

I just updated my Drupal site today from 8.7 to 8.8. On the site I have a form (powered by Webform) that uses both the CAPTCHA and reCAPTCHA modules to prevent spam. Form submissions were working correctly but then stopped working immediately after the Drupal 8.8. update. Upon submitting the form, users get the "website encountered an unexpected error. Please try again later" message.

Checking the error logs, I found a mysterious message that alluded to guzzlehttpd (which I checked and am using the updated 6.5 version):

Uncaught PHP Exception InvalidArgumentException: "Host must be a string" at /var/www/html/informatics_ana lytics/vendor/guzzlehttp/psr7/src/Uri.php line 611, referer: https://informatics-analytics.dfci.harvard.edu/groups/computational-solu...

Here is my full stack:

SERVER
CentOS 6.5
Apache 2.2.15
php 7.1.15
MySQL 5.7.21

DRUPAL
Drupal 8.8
Webform 5.6
CAPTCHA 1.0-beta4
reCAPTCHA 2.4

COMPOSER
Composer 1.4.2
Guzzlehttp/guzzle 6.5.0
Guzzlehttp/promises 1.3.1
Guzzlehttp/psr7 1.6.1

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

reCAPTCHA V3

Created by

πŸ‡ΊπŸ‡ΈUnited States davemanroth

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024