Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
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:
Comments
Comment #2
Arturo-q CreditAttribution: Arturo-q at CI&T commentedHi, I will be working on it.
Comment #3
Arturo-q CreditAttribution: Arturo-q at CI&T commentedComment #4
christyanpaim CreditAttribution: christyanpaim at CI&T commentedComment #5
davisbenLets also add a test for this so we can prevent it happening again.
Comment #6
christyanpaim CreditAttribution: christyanpaim at CI&T commentedComment #7
davisbenLooks like this is happening when the SES client can't be initialized. I'll add some error checking.
Comment #9
davisbenThis 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.
Comment #11
davisbenThis has been merged.
Comment #12
gouthamraon CreditAttribution: gouthamraon commented@davisben: The changes worked for me. Thanks for the quick fix.