Error when selecting S3 Bucket
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Reproduce the failure by creating a job, selecting S3, entering AWS credentials, and selecting a bucket. Start with vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php and vendor/guzzlehttp/promises/src/Promise.php, using the supplied stack trace to follow the error path. Done means bucket selection works and the settings can be saved without the fatal error.
Written by the indexing model from the issue text.
Description
Describe the bug
I get this when I want to select a s3 Bucket after introducing my AWS keys
Fatal error: Uncaught TypeError: Argument 1 passed to Aws\Handler\GuzzleV6\GuzzleHandler::Aws\Handler\GuzzleV6\{closure}() must be an instance of Exception, instance of Error given, called in /var/www/web/wp-content/plugins/backwpup/vendor/guzzlehttp/promises/src/Promise.php on line 203 and defined in /var/www/web/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php:45 Stack trace: #0 /var/www/web/wp-content/plugins/backwpup/vendor/guzzlehttp/promises/src/Promise.php(203): Aws\Handler\GuzzleV6\GuzzleHandler::Aws\Handler\GuzzleV6\{closure}() #1 /var/www/web/wp-content/plugins/backwpup/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler() #2 /var/www/web/wp-content/plugins/backwpup/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #3 /var/www/web/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run() #4 /var/www/web/wp-co in /var/www/web/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php on line 45
To Reproduce
Steps to reproduce the behavior:
- Create a Job
- Select s3 as destination service.
- introuduce your aws credentials.
- Try to select a bucket.
Expected behavior
I expected to be able to select a bucket and then save my settings.
System (please complete the following information):
- OS: Linux
- Version Ubuntu 20.04
Additional context
Add any other context about the problem here.
- Dominant language
- PHP
- Stars
- 95
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wp-media/backwpup
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
[HumanSlop] Code Quality Audit: 24574 findings in BackWPup – WordPress Backup & Restore Plugin Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in wp-media/backwpup
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100