Cloudfront Credential Errors
-
I recently setup W3 total cache and things have been relatively smooth, and the plugin has been great
I have setup Cloudfront pull as CDN
Today, I updated a few of my plugins and proceeded to empty local and CDN cache.
As soon as I tried to empty CDN, I got a fatal error. I went and checked the logs, and this is what I saw
PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Promise\promise_for() in /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php:158 Stack trace: #0 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php(443): Aws\Credentials\CredentialProvider::fromCredentials(Object(Aws\Credentials\Credentials)) #1 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php(323): Aws\ClientResolver::_apply_credentials(Object(Aws\Credentials\Credentials), Array, Object(Aws\HandlerList)) #2 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/AwsClient.php(199): Aws\ClientResolver->resolve(Array, Object(Aws\HandlerList)) #3 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(43): Aws\AwsClient->__construct(Array) #4 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(68): W3TC\CdnEngine_Mirror_CloudFront->_init() #5 /v in /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php on line 158
I logged into W3 dashboard to test Cloudfront credentials. The test fails with the following error
[21-Feb-2022 07:05:20 UTC] PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Promise\promise_for() in /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php:158 Stack trace: #0 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php(443): Aws\Credentials\CredentialProvider::fromCredentials(Object(Aws\Credentials\Credentials)) #1 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php(323): Aws\ClientResolver::_apply_credentials(Object(Aws\Credentials\Credentials), Array, Object(Aws\HandlerList)) #2 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/AwsClient.php(199): Aws\ClientResolver->resolve(Array, Object(Aws\HandlerList)) #3 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(43): Aws\AwsClient->__construct(Array) #4 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(142): W3TC\CdnEngine_Mirror_CloudFront->_init() #5 / in /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php on line 158
Now I can verify that the credentials are in fact correct. And no other plugin I have uses these credentials. Can you please let me know how to proceed with this?
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Cloudfront Credential Errors’ is closed to new replies.