TypeError with PHP 8.1

Created on 5 December 2022, about 2 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

Running on PHP 8.1 I get the following error with an unconfigures smtp module.

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 113 of /var/www/html/web/modules/contrib/smtp/src/ConnectionTester/ConnectionTester.php)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe

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.71.5 2024