Problem/Motivation

Error: Call to a member function getClientArgs() on bool in Drupal\aws\AwsClientFactory->getClient() (line 43 of modules/contrib/aws/src/AwsClientFactory.php).

Steps to reproduce

Install the module using composer and enable.
composer require 'drupal/amazon_ses:^3.0'

Access below URL:
/admin/config/system/amazon_ses/settings/identities

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork amazon_ses-3316452

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gouthamraon created an issue. See original summary.

Arturo-q’s picture

Assigned: Unassigned » Arturo-q

Hi, I will be working on it.

Arturo-q’s picture

Assigned: Arturo-q » Unassigned
christyanpaim’s picture

Assigned: Unassigned » christyanpaim
davisben’s picture

Lets also add a test for this so we can prevent it happening again.

christyanpaim’s picture

Assigned: christyanpaim » Unassigned
davisben’s picture

Version: 3.0.0 » 3.0.x-dev
Assigned: Unassigned » davisben

Looks like this is happening when the SES client can't be initialized. I'll add some error checking.

davisben’s picture

Assigned: davisben » Unassigned
Status: Active » Postponed
Related issues: +#3317272: Ensure a profile exists before attempting to create a client

This also needs a change in the AWS module. Postponing until that is complete.

Follow #3317272: Ensure a profile exists before attempting to create a client for progress on that.

  • davisben committed b22c78b on 3.0.x
    Issue #3316452: Call to a member function getClientArgs() on bool in...
davisben’s picture

Status: Postponed » Fixed

This has been merged.

gouthamraon’s picture

@davisben: The changes worked for me. Thanks for the quick fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.