• Resolved Chad Reitsma

    (@chadreitsma)


    Seems to be an issue with the CloudFront CDN module.

    `Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Promise\promise_for() in /var/www/vhosts/clientdomain.com/httpdocs/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/CredentialProvider.php:158

    Credentials were saved and are correct.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Chad Reitsma

    (@chadreitsma)

    Sorry, forgot to mention — this error occurs once I click on “Purge CDN: All”

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @chadreitsma

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please share when you started to experience this issue?
    DO you have any other Plugins that may be using the same AWS library?
    Have you tried re-authorizing the AWS CDN?
    Can you also share what is the PHP version currently?
    THanks!

    Thread Starter Chad Reitsma

    (@chadreitsma)

    Hey @vmarko,

    The client’s site has a lot of plugins so I’m not sure if there is a conflict, I’ll try on a cleaner site when I have some time, but this started happening after upgrading to the latest version.

    I tried re-authorizing the CDN (using a new Access ID + Key), but still the same issue, we’re on PHP 7.4

    I tried reverting to 2.2.0 but the issues persists.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @chadreitsma

    You can try 2.1.2. There could be a bug in the version of the Aws lib or a different class loaded by the autoloader due to another Aws lib loaded for another plugin as I’ve mentioned before.
    Thanks!

    Thread Starter Chad Reitsma

    (@chadreitsma)

    Reverting to 2.1.2 worked.

    Thanks Marko!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined function GuzzleHttp\Promise\promise_for()’ is closed to new replies.