($subject) must be of type string, array given in preg_split()

Created on 20 May 2024, about 1 month ago

It worked till Drupal 9 version, but after I ported Drupal from Drupal 9 to Drupal 10, I got an error similar to the one below.

preg_split(): Argument #2 ($subject) must be of type string, array given in preg_split() (line 312 of /var/www/abc/xyz/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php).

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India harishpatel86

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

Comments & Activities

Production build 0.69.0 2024