Warning: Undefined array key "filecontent" in \Drupal\symfony_mailer_lite\Plugin\Mail\SymfonyMailer::attachFilesAsMimeMail

Created on 5 September 2024, 4 months ago
Updated 19 September 2024, 3 months ago

Problem/Motivation

If the attachment comes as a file, then the array key filecontent doesn't exist in line 484. That creates a warning in the logs.

Proposed resolution

Default to NULL in that if-statement in line 484 or move that if-statement down into the else-section of the following if-statement.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024