• Resolved mipaca

    (@mipaca)


    When attempting to use this plugin with W3 Total Cache I am getting a 500 error due to trying to declare a previously declared method. W3 Total Cache is setup to use S3 as CDN for hosting media for the site. I love your plugin, please update your plugin to be compatible with this scenario.

    PHP Fatal error: Cannot redeclare Aws\constantly() (previously declared in /public_html/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/functions.php:19) in /public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/functions.php on line 22

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    Hi @mipaca
    Please temproary add
    define('W3TC_SKIPLIB_AWS', true);
    to your wp-config.php file, before the line
    /* That's all, stop editing! Happy blogging. */
    Is the issue gone?
    Thanks!

    • This reply was modified 4 years, 9 months ago by happyAnt.
    Plugin Support happyAnt

    (@duongcuong96)

    @mipaca
    since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know ;),

    Btw, If you find BackWPUp is useful for you, we would really appreciate. if you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support ??
    https://www.ads-software.com/support/plugin/backwpup/reviews/

    This is due to w3 total cache loading the Aws SDK without checking if it’s already loaded. I tested this with AWS Plugin for WordPress developed by Amazon. All the classes in Aws/functions.php are loaded again by w3 total cache instead of using include_once or require_once.

    Same issue here. define(‘W3TC_SKIPLIB_AWS’, true); fixes the fatal error but I am not sure of the consequences for w3 total cache (AWS SDK version conflict?).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Incompatibility with W3 Total Cache’ is closed to new replies.