@bk9001 I had the same issue and was equally disappointed (cc: your review). It’s caused by a fatal PHP error. However, this reply on an earlier topic actually saved me. To repeat what they said in copy-paste-able text:
- go into the
wp-content/plugins/aws-cdn-by-wpadmin/admin
folder
- open the
class-aws-cdn-admin.php
file with a plain text/code editor.
- find line 465
- Replace
if (count($result['DistributionList']['Items']) > 0) {
with the following:
if (isset($result["DistributionList"]["Items"]) && count($result["DistributionList"]["Items"]) > 0) {
One thing to note: there is one more bug in the plugin that causes the plugin to not work at all if your aws account already has a cloudfront distribution. It only works if the account has no distributions yet. Which is, to be frank, a terrible way of programming.
I hope the team fixes the above isset issue and the mentioned bug, but till then this is a hotfix that works!
-
This reply was modified 5 months, 3 weeks ago by
rubenrme.