ValueError: Path cannot be empty in file_get_contents() (line 611 of modules/contrib/swiftmailer/src/Plugin/Mail/SwiftMailer.php).

Created on 28 March 2023, over 1 year ago

Problem/Motivation

I'm getting
ValueError: Path cannot be empty in file_get_contents() (line 611 of modules/contrib/swiftmailer/src/Plugin/Mail/SwiftMailer.php).
when trying to send an email, for example password reset

Steps to reproduce

Proposed resolution

First check, if the value passed is empty, before running the method.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024