Deprecation notice on PHP8.1

Created on 21 November 2022, over 1 year ago
Updated 26 October 2023, 8 months ago

When installing / running on D9.4 with PHP8.1 we're seeing the following in watchdog:

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\mandrill\Plugin\Mail\MandrillMail->mail() (regel 141 van /var/www/html/web/modules/contrib/mandrill/src/Plugin/Mail/MandrillMail.php)

The attached patch is a simple fix by casting the return value of $this->config->get('mandrill_mail_key_blacklist') into a string.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands Gekkie

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