AWS SDK in multiple plugins breaks site
-
When activating another plugin that uses the aws sdk for s3 storage for example it will break the site due to redeclaration of functions.
A popular example is W3 Total Cache Plugin with a configured CDN for Amazon CloudFront/S3.
PHP Fatal error: Cannot redeclare Aws\parse_ini_file() (previously declared in /var/www/wordpress/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/functions.php:401) in /var/www/wordpress/wp-content/plugins/w3-total-cache/lib/Aws/Aws/functions.php on line 401
Your plugin also seems to pre-load aws sdk functions also S3 storage is not even used for backup.
Would it be possible for you to provide a fix for this in a future version?
Thank you.
- The topic ‘AWS SDK in multiple plugins breaks site’ is closed to new replies.