• Hey there,

    Currently on a fresh install of WordPress 5.8.2 MultiSite with WPAdmin AWS CDN as the only plugin installed/activated. I’m using PHP 7.4.21 and the plugin version is 2.0.8. I created the user as described with CloudFrontFullAccess permissions and checked/double checked the Access/secret Keys. When I click “Create Distribution” on the Multi-site setup page, I get the following:

    Create CDN: Error executing “CreateDistribution” on “https://cloudfront.amazonaws.com/2020-05-31/distribution&#8221;; AWS HTTP error: Client error: POST https://cloudfront.amazonaws.com/2020-05-31/distribution resulted in a 400 Bad Request response: <?xml version=”1.0″?> <ErrorResponse xmlns=”https://cloudfront.amazonaws.com/doc/2020-05-31/”><Error><Type>Sender</Type>&lt; (truncated…) InvalidArgument (client): The parameter origin name cannot be null or empty. – <?xml version=”1.0″?> <ErrorResponse xmlns=”https://cloudfront.amazonaws.com/doc/2020-05-31/”><Error><Type>Sender</Type&gt;InvalidArgument<Message>The parameter origin name cannot be null or empty.</Message></Error><RequestId>189e6eee-349e-4cc7-86b4-6315eb38e0d1</RequestId></ErrorResponse>

    Also, from my php-fpm error log, I have a bunch of entries like this:

    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined index: compressobject in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 42
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: cpselected1 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 124
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: cpselected2 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 125
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: cpselected3 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 126
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: tlsselected2 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 135
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: tlsselected3 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 136
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: tlsselected4 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 137
    [08-Jan-2022 16:07:33 UTC] PHP Notice: Undefined variable: coselected1 in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/wpa-aws-multi-deploy.php on line 146
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 21
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: id in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 908
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: cdndomain in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 916
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: pages in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 922
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: verifymethod in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 923
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: terms in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 924
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 891
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined variable: wpaval in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 943
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Trying to access array offset on value of type null in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 943
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 891
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined variable: wpaval in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 642
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 653
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: id in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 908
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: cdndomain in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 916
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: pages in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 922
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: verifymethod in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 923
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: terms in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 924
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 891
    [08-Jan-2022 16:07:53 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 891
    [08-Jan-2022 16:08:34 UTC] PHP Notice: Undefined index: custom in /var/app/current/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 21

    Not really sure what to do here, any help would be appreciated.

    *EDIT: I just tried creating one on the WPAmin CDN page instead of the Multi-Site Setup page and it worked fine — perhaps a fix was applied there that hasn’t been applied to the Multi-Site side of things?

    • This topic was modified 2 years, 10 months ago by dootspagoot.
    • This topic was modified 2 years, 10 months ago by dootspagoot.
    • This topic was modified 2 years, 10 months ago by dootspagoot.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @dootspagoot

    Did you select the domain name from the list?

    Multi-site Setup is for all non primary domains

    For primary domain use the main WPAdmin CDN page

    Thread Starter dootspagoot

    (@dootspagoot)

    Ahhh — that was the problem. Thank you! Does this plugin allow me to do things like serve wp-content from S3 so that all of my instances use that for things like plugins?

    Plugin Author luckychingi

    (@luckychingi)

    Unfortunately , the plugin is very basic and does not have the option to serve content from S3.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘400 Error: The parameter origin name cannot be null or empty’ is closed to new replies.