array_column causes an error

Created on 25 January 2023, almost 2 years ago
Updated 6 May 2023, over 1 year ago

Problem/Motivation

Cannot fill initial settings.

Steps to reproduce

After module installation I try to fill /admin/config/send_emails/emails settings, but got error: "TypeError: array_column(): Argument #1 ($array) must be of type array, null given in array_column() (line 308 of modules/contrib/send_emails/src/Form/EmailSettings.php)."

Proposed resolution

Patch attached.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇷🇺Russia Andrew Answer Novosibirsk

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

Comments & Activities

Production build 0.71.5 2024