RuntimeException: Operating in TEST mode but no test mode email has been set yet. Aborting send. in Drupal\commerce_abandoned_carts\AbandonedCarts->queueSendMails()

Created on 1 December 2024, 3 months ago

Problem/Motivation

[error]
RuntimeException: Operating in TEST mode but no test mode email has been set yet.
Aborting send. in Drupal\commerce_abandoned_carts\AbandonedCarts->queueSendMails()
(line 132 of
drupal-10.3.x/html/modules/contrib/commerce_abandoned_carts/src/AbandonedCarts.php).

Steps to reproduce

When I run cron this shows up in logs.
It was this for 2.0 and 2.1 module versions

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

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

Comments & Activities

  • Issue created by @SocialNicheGuru
  • πŸ‡³πŸ‡±Netherlands megachriz

    On the Commerce Abandoned Carts settings you can figure a test mail address. Or you can disable test mode. Do one of these and that should resolve this issue.

    If it doesn't resolve your issue, feel free to reopen this issue.

  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    Is there a config variable I can add to my settings.php for each option?

  • πŸ‡³πŸ‡±Netherlands megachriz

    Yes, this is possible for all config.

    Example for overriding configuration for Commerce Abandoned Carts in settings.php:

    $config['commerce_abandoned_carts.settings']['testmode'] = TRUE;
    $config['commerce_abandoned_carts.settings']['testmode_email'] = 'foo@example.com';
    
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024