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

    (@vmarko)

    Hello @erdalaltin,

    Can you please share the full error message? It’s missing error message itself, you copied the stacktrack.

    Thread Starter erdalaltin

    (@erdalaltin)

    [Mon Jun 10 08:30:59.353532 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: PHP message: 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/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php on line 75 and defined in /var/www/html/wp-content/plugins/amazon-web-services/vendor/aws/Aws/Common/Client/AbstractClient.php:73, referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353561 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: Stack trace:, referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353565 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #0 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php(75): Aws\\Common\\Client\\AbstractClient->__construct(Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353568 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #1 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php(281): W3TC\\CdnEngine_S3->_init(), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353571 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #2 /var/www/html/wp-content/plugins/w3-total-cache/Cdn_Core.php(222): W3TC\\CdnEngine_S3->delete(Array, Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353573 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #3 /var/www/html/wp-content/plugins/w3-total-cache/Cdn_Plugin.php(217): W3TC\\Cdn_Core->delete(Array, true, Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353609 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #4 /var/www/html/wp-includes/class-wp-hook.php(286): W3TC\\Cdn_Plugin->delete_attachment(15804), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 08:30:59.353631 2019] [:error] [pid 29675] [client 188.119.34.217:53650] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #5 /var/www/html/wp-includes/class-wp-hook.php(310): WP…, referer: https://motosikletevi.com/wp-admin/upload.php

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    It appears that there’s a conflict with some other plugin loading AWS SDK v2. If you have added the constant: define('W3TC_SKIPLIB_AWS', true); you have blocked the loading of w3tc’s AWS library.
    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.

    Thread Starter erdalaltin

    (@erdalaltin)

    I added define('W3TC_SKIPLIB_AWS', true); to first row in wp-config.php

    but error:

    [Mon Jun 10 18:16:53.592194 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: PHP message: PHP Fatal error: Uncaught Error: Class ‘Aws\\Credentials\\Credentials’ not found in /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php:68, referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592225 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: Stack trace:, referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592229 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #0 /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php(281): W3TC\\CdnEngine_S3->_init(), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592232 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #1 /var/www/html/wp-content/plugins/w3-total-cache/Cdn_Core.php(222): W3TC\\CdnEngine_S3->delete(Array, Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592235 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #2 /var/www/html/wp-content/plugins/w3-total-cache/Cdn_Plugin.php(217): W3TC\\Cdn_Core->delete(Array, true, Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592246 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #3 /var/www/html/wp-includes/class-wp-hook.php(286): W3TC\\Cdn_Plugin->delete_attachment(15809), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592249 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #4 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592252 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #5 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592255 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #6 /var/www/html/wp-includes/post.php(5419): do_action(‘delete_attachme…’, 15809), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592257 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #7 /var/www/html/wp-admin/post.php(303): wp_delete_attachment(15809, true), referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592259 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: #8 {main}, referer: https://motosikletevi.com/wp-admin/upload.php
    [Mon Jun 10 18:16:53.592262 2019] [:error] [pid 29675] [client 159.146.42.44:21715] FastCGI: server “/usr/lib/cgi-bin/php7.2-fcgi” stderr: thrown in /var/www/html/wp-content/plugins/w3-total-cache/CdnEngine_S3.php on line 68, referer: https://motosikletevi.com/wp-admin/upload.php

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    As said in the previous topic. There is a conflict with some other plugin loading AWS SDK v2.

    Thread Starter erdalaltin

    (@erdalaltin)

    I disabled plugin https://www.ads-software.com/plugins/amazon-web-services/ then

    It is fixed.

    thanks..

    Hello,

    the define breaks the Cloudfront purge, I got this error:
    The cloudfront service does not have version: 2018-11-05.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @giuseppect,

    can you confirm if you have the latest W3 Total Cache 0.9.7.5 version?

    Hello @vmarko
    Im facing the same issue with the latest release on W3 Total Cache 0.9.7.5, I downgraded to version W3 Total Cache 0.9.7.4 and it works fine. Please look into this.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @gravityblue,

    Adding define(‘W3TC_SKIPLIB_AWS’, true); is not a solution but it’s a way to make things work if another project using AWS library is doing the same.
    The solution is not to use other plugins that cause conflict.

    The solution isnt working.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘AWS error, while delete or upload image’ is closed to new replies.