• Resolved afcruzb

    (@afcruzb)


    Hi, I recently updated to version 2.1.8

    Now my CDN AWS cloudfront is not working. I already uninstalled the plugin, erase all files and install again, but I continue to get this error:

    
    2021-09-22T20:48:24+00:00 CRITICAL 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()
    #1 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php(323): Aws\ClientResolver::_apply_credentials()
    #2 /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/AwsClient.php(199): Aws\ClientResolver->resolve()
    #3 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(39): Aws\AwsClient->__construct()
    #4 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php(138): W3TC\CdnEngine_Mirror_CloudFront->_init()
    #5 /var/www/html/wp-content/plugins/w3-total-cache/Cdn_AdminActions.php(428): W3TC\CdnEngine_Mirror_CloudFront->test()
    #6 /var/www/html/wp-co en /var/www/html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php en la línea 158
    
    

    My Php version is 7.4.

    I would appreciate any help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @afcruzb

    Thank you for reaching out and I am happy to help!
    Just to clarify, you have enabled the CDN in W3TC using AWS in the previous version. Once you updated W3TC to 2.1.8 the issue started to occur?

    Have you tried double-checking the AWS credentials and re-authorize the CDN?
    Thanks!

    Thread Starter afcruzb

    (@afcruzb)

    Hi, yes I have enable the CDN in W3TC with AWS cloudfront. I tried many times with new credentials, but I continued to get test failed.

    Finally I deactivate this plugin and it worked again: Google Listings & Ads. There seems to be a conflict with this plugin.

    Thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @afcruzb

    There is a possibility that the mentioned plugin is also loading the AWS SDK and that’s why the conflict may occur.
    As I am not familiar with that plugin, have you tried reaching our to their support and check this?
    THanks!

    Thread Starter afcruzb

    (@afcruzb)

    I’m gonna try to contact them. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CDN AWS Cloudfront Error’ is closed to new replies.