Yannis Stavridis
Forum Replies Created
-
I also receive this mail from wordpress version 5.2.1
Error Details
=============
An error of type E_ERROR was caused in line 73 of the file /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php. Error message: Uncaught TypeError: Argument 1 passed to Aws\Common\Client\AbstractClient::__construct() must be an instance of Aws\Common\Credentials\CredentialsInterface, array given, called in /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php on line 40 and defined in /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php:73
Stack trace:
#0 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php(40): Aws\Common\Client\AbstractClient->__construct(Array)
#1 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php(159): W3TC\CdnEngine_CloudFront->_init()
#2 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/Cdn_AdminActions.php(427): W3TC\CdnEngine_CloudFront->test(NULL)
#3 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/Root_AdminActions.php(25): W3TC\Cdn_AdminActions->w3tc_cdn_test()
#Thank you
Yannis
Hello,
Unfortunately, there is no way. I had to deactivate BackWup.
The answer from the W3 total cache support is the following:
————
We tried to limit the number of requests when w3tc loads the AWS library and it happens only when interaction with AWS is required. If you do the same, and will not load it always – potentially both products will be able to co-exist.Another option is to force both projects to use the same AWS library code.
You should include AWS separately, and force W3TC not to load own copy setting
define(‘W3TC_SKIPLIB_AWS’, true);W3 Total Cache is compatible with AWS SDK version 3 and may use it.
Another project using AWS library should do the same.This other plugin seems loads AWS library always, even while it’s not used, so conflict is unavoidable. you should contact plugin authors about it.
the potential solution now is to disable other plugin and enable it for backup processes only.
————-
ERROR LOGS ARE AS FOLLOWS:mod_fcgid: stderr: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Aws\\Common\\Client\\AbstractClient::__construct() must be an instance of Aws\\Common\\Credentials\\CredentialsInterface, array given, called in /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php on line 40 and defined in /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php:73, referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: Stack trace:, referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: #0 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php(40): Aws\\Common\\Client\\AbstractClient->__construct(Array), referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: #1 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/CdnEngine_CloudFront.php(159): W3TC\\CdnEngine_CloudFront->_init(), referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: #2 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/Cdn_AdminActions.php(427): W3TC\\CdnEngine_CloudFront->test(NULL), referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: #3 /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/w3-total-cache/Root_AdminActions.php(25): W3TC\\Cdn_AdminActions->w3tc_cdn_test(), referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
mod_fcgid: stderr: # in /var/www/vhosts/medalkan.gr/httpdocs/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php on line 73, referer: https://www.medalkan.gr/wp-admin/admin.php?page=w3tc_cdn
———-
This happens only when backWup is activated an we try to access cloudfrontvia w3 total cacheThank you for your support
Yannis
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not working – 2I am waiting for a response from them.
Thank you
Yannis
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not working – 2Der Marko,
We have included define (‘W3TC_SKIPLIB_AWS’, true);
in our wp-config.php but it doesn’t change anything.What else could we try ?
ThanksYannis
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not working – 2There is an incompatibility with BackWup plugin.
When we disable it, CDN operation with cloudfront functions.
Do you have a workaround ?We need both plugins.
Thank you
Yannis
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not workingThank you but we couldn’t manage
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not working – 2Hi,
We tried but we couldn’t manage to do that.
It didn’t work.Please send us a detailed procedure.
Thank youYannis
Forum: Plugins
In reply to: [W3 Total Cache] Latest update, cloudfront not workingWe have exactly the same problem since the update today.
Could you please give us the way to fix the problem.Thank you
Yannis