Undefined array key "use_global" when attempting to add Reroute Email Adjuster

Created on 30 November 2023, 7 months ago
Updated 7 December 2023, 7 months ago

Problem/Motivation

Unable to add the Reroute Email Adjuster to a Mail policy due to errors

Steps to reproduce

1. Composer require and install Symfony Mailer 1.4.0
2. Composer require and install Reroute Email 2.3.0-beta1
3. Install Reroute Email (Symfony Mailer support)
4. Attempt to create a Mailer policy with the Reroute Email Adjuster

AJAX error:

Warning: Undefined array key \"use_global\" in .../modules/contrib/reroute_email/modules/reroute_email_symfony_mailer/src/Plugin/EmailAdjuster/RerouteEmailAdjuster.php on line 135

Proposed resolution

Check to see if $this->configuration['use_global'] isset prior to trying to access it

πŸ› Bug report
Status

Fixed

Version

2.3

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada nord102

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024