April 22, 2020 at 2:57 pm #14586
Your plugin has a conflict with the BackWPUp plugin. When it’s enabled on the site, and someone clicks a “generate download link” button on their purchase history page, the website throws a critcal error.
This error looks like the one here: q8i7i8m3.rocketcdn.me/wp-content/uploads/2019/11/There-has-been-a-critical-error-on-your-website.-Please-check-your-site-admin-email-inbox-for-instructions..jpg
I disabled every plugin BUT estore, my theme & emember and it worked fine. Then, I re-enabled them one by one and tested after each one.
Is there anything you can do to fix this conflict?April 22, 2020 at 5:26 pm #80493wzpModerator
Question: are using BackWPUp “Free” or the “Pro” version? Also, please turn on eStore debugging, and check the error logs, after the error occurs.
Also, look at the server’s error log so it has more details as to what the exact error is. The critical error just means that an operation failed. The server’s error log will have more details as to what particular operation failed.April 23, 2020 at 4:13 pm #80494
Here is the error code:
“[23-Apr-2020 16:12:09 UTC] PHP Fatal error: Cannot redeclare Awsconstantly() (previously declared in /home/ralab/public_html/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/functions.php:19) in /home/ralab/public_html/wp-content/plugins/estore-amazon-s3-integration/lib/aws/Aws/functions.php on line 22”
This only happens when the backup plugin is activated.
We are using the free version of the plugin.
Thanks!April 24, 2020 at 12:30 am #80495adminKeymaster
Looks like it a conflict with the Amazon S3 library. I think you have the eStore’s Amazon S3 integration addon. That addon includes the amazon s3 library. Which is also being included by the Backup plugin and they are both trying to load.
Are you using the S3 addon of eStore or you can deactivate that?April 24, 2020 at 12:14 pm #80496
Our products are hosted on AWS – if I disable the s3 integration, will my products still be available through their amazon links?April 24, 2020 at 1:57 pm #80497
I disabled the s3 integration add on and enabled the BackWPUp plugin and I was still able to download my products. What does the s3 integration addon do in terms of functionality? Is there any reason I would need it enabled on the site if my product files are hosted on AWS?April 24, 2020 at 10:02 pm #80498wzpModerator
Is there any reason I would need it enabled on the site if my product files are hosted on AWS?
This post, from 6 years ago, explains the premise behind the S3 integration addon:
By using the S3 integration addon, you allow AWS to take on the burden of securely pushing the download to the user; instead of your server first copying the file from AWS and then pushing it back out.
- You must be logged in to reply to this topic.