vue07418
Forum Replies Created
-
I opened a support ticket with UpdaftPlus Backup and they are suggesting to to restrict that plugin to only loading its version of the API when strictly necessary. See email below.
From: UpdraftPlus <[email protected]>
Sent: Friday, October 30, 2020 10:37 AM
To: Vue, Vicky <[email protected]>
Subject: [External] Re: UpdraftPlus.Com Support RequestHi Vicky,
Apologies for the delay.
There is currently no way to migrate UpdraftPlus to use a different version of the AWS API. The version used in UpdraftPlus is used to allow as much backwards compatibility as possible.
The issue stems from the AWS for WordPress plugin loading its own code on other plugins’ pages, which is against best practice as it causes conflicts such as this.Our developers are aware of the conflict with AWS for WordPress, and are looking into potential solutions which can be implemented on our side.
However, I’m afraid that we do not currently have an estimated release date for such a fix.I would recommend asking the AWS for WordPress developers if there is a way to restrict that plugin to only loading its version of the API when strictly necessary.
Apologies for the inconvenience.
Best Wishes,
Dee@bcrodua, Any update on this?
Thank you for your response. This is just a recommendation from a UpdraftPlus plugin contributor, “As a best practise, plugins should only load in their scripts where necessary (this usually means on their own pages, or just before the script is needed).
For example, UpdraftPlus only attempts to load the AWS SDK just before the upload attempt.Please could you contact the other plugin’s support team, and ask if it is possible to
stop their plugin loading on the UpdraftPlus settings page.”Is it possible to update the Amazon Polly plugin so that its script is running on its own page or just before the script is needed?
Thanks!
Hi @bcrodua,
I tried down grading my WordPress to 5.3.4 to see if it would help Amazon Polly plugin (compatible up to 5.3.4)but I’m still getting the same error message. I contacted the developers for the AWS for WordPress aka Amazon Polly plugin and this is what they had to say, “Hi,
I’ve checked the logs which you provided. To be honest it looks like the problem is on other side – in short the other plugin is using very old version od AWS SDK – which is not compatible with new versions (one of them is being used by this plugin). Not a lot which we can do in this case :/ sorry.”. You can see the open topic here.I’m wondering if what they say is true, is UpdraftPlus plugin using an old AWS SDK version?
Thanks!
Any update on this? I even downgraded my WordPress to version 5.3.4, which the plugin is compatible to. PHP version is PHP 7.3.14.
Here is a new log with error message starting at line 251:
https://www.dropbox.com/s/cxskk8ckulgoj8v/log.1adfb8a107e0.txt?dl=0Thanks,
Vicky Vue
Hi Bryle,
I updated the plugin to latest version and corrected the S3 settings. This error pops up:
“Amazon S3: Error: Failed to initialise: Missing required client configuration options:
version: (string)
A “version” configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
“2006-03-01”.Your build of the SDK has the following version(s) of “s3”: * “2006-03-01”
You may provide “latest” to the “version” configuration value to utilize the
most recent available API version that your client’s API provider can find.
Note: Using ‘latest’ in a production application is not recommended.A list of available API versions can be found on each client’s API documentation
page: https://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html. If you are
unable to load a specific API version, then you may need to update your copy of
the SDK. (line: 397, file: /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/ClientResolver.php)”This is also seen in the logs from my earlier response.
I deactivated the AWS for WordPress plugin aka Amazon Polly, and the S3 test settings in UpdraftPlus worked. I then tried a manual backup but it keeps failing. Here you can see the new log: https://www.dropbox.com/s/i5o28ilfaqglrfg/log.070c51392bfb.txt?dl=0
Sorry for the late response but here is the log. Starting on line 229 you will see the error message.
https://www.dropbox.com/s/wp0keb1u240flzt/log.d4d73c351166.txt?dl=0
Thanks,
vue07418