Receive the following error when the site attempts to send an email (in this context, via a handler after a webform submission):
NOTICE: PHP message: PHP Fatal error: Type of Drupal\amazon_ses\Plugin\Mail\AmazonSes::$configFactory must not be defined (as in class Drupal\Core\Mail\Plugin\Mail\PhpMail) in /var/www/html/web/modules/contrib/amazon_ses/src/Plugin/Mail/AmazonSes.php on line 23
This error was pointed out here by code quality: https://git.drupalcode.org/project/amazon_ses/-/merge_requests/20/diffs#...
And also detected as a warning during a phpstan run here: https://git.drupalcode.org/project/amazon_ses/-/jobs/2363149
Install and configure version 3.1.0 of the module.
I threw together a local patch for the issue, will open an MR as time permits.
Review patch and MR.
Active
3.1
Code