We have seen some customers experience failure of cron to run due to an outdated version of Guzzle.
An example of a full error is here, and it appears in the
drush-cron.log file. Visit our information on logging to find that file.
Error: Call to undefined function GuzzleHttp\_idn_uri_convert() in [error] GuzzleHttp\Client->buildUri() (line 220 of /mnt/www/html/example/vendor/guzzlehttp/guzzle/src/Client.php) #0 /mnt/www/html/example/vendor/guzzlehttp/guzzle/src/Client.php(155): GuzzleHttp\Client->buildUri(Object(GuzzleHttp\Psr7\Uri), Array) [...] Drush command terminated abnormally due to an unrecoverable error. [error] [0.36 sec, 10.07 MB] * ** *** Cron Completed: Fri Aug 7 15:00:01 UTC 2020 *** ** *
guzzlehttp library to the latest version (currently 6.5.5) using Composer if it’s independently installed in the
vendor folder. We are working to determine what change caused this, as code that worked before suddenly stopped working, but we have found updating the library (or, if you run Drupal 8, removing the library and relying on the core library) to be the resolution.
We are working to determine the cause of this to suddenly stop working, as customers have experienced this starting without any code changes.