• Hey thanks for working on this plugin on your spare time. I just found your plugin and installed it after attempting to create a distribution manually on AWS’ website. I was able to install, activate, enter access credentials and create an SSL certificate, however, when I click the “Create Distribution” button it quickly says processing but the CDN is never created. I saw a previous post where you suggested deleting and reinstalling but that didn’t help. Similarly in the developer tools and in the server logs I get a 500 error when I click the button. I disabled Wordfence and Jetpack as well as any other caching plugins. I also made sure to select every option and validate that none of the fields were empty. Thanks for your time.

    Here is an excerpt from the logs

    [Fri Mar 17 02:47:57.875417 2023] [proxy_fcgi:error] [pid 14985:tid 140257383147264] [client x.x.x.x:56336] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "id" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1018PHP message: PHP Warning:  Undefined array key "cdndomain" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1026PHP message: PHP Warning:  Undefined array key "pages" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1032PHP message: PHP Warning:  Undefined array key "verifymethod" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1033PHP message: PHP Warning:  Undefined array key "terms" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1034PHP message: PHP Warning:  Undefined variable $wpaval in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1053PHP message: PHP Warning:  Trying to access array offset on value of type null in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1053PHP message: PHP Warning:  Undefined variable $wpaval in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 699PHP message: PHP Warning:  Undefined array key "custom" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 710PHP message: PHP Warning:  Undefined array key "id" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1018PHP message: PHP Warning:  Undefined array key "cdndomain" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1026PHP message: PHP Warning:  Undefined array key "pages" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1032PHP message: PHP Warning:  Undefined array key "verifymethod" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1033PHP message: PHP Warning:  Undefined array key "terms" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 1034PHP message: PHP Warning:  Undefined array key "Items" in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 399PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php:399\nStack trace:\n#0 /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php(718): wpaawscdnadmin->wpaac_list_cdn()\n#1 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(308): wpaawscdnadmin->wpaac_create_cdn()\n#2 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#3 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /opt/bitnami/wordpress/wp-admin/admin-ajax.php(188): do_action()\n#5 {main}\n  thrown in /bitnami/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/admin/class-aws-cdn-admin.php on line 399', referer: https://panhandleprairiewings.com/wp-admin/admin.php?page=wpa-aws-setup
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author luckychingi

    (@luckychingi)

    @nhaskell the errors indicate that the POST requests isnt sent.

    Can you confirm that all the details have been entered on the setup page and that the certificate ARN is visible on that page too?

    Thread Starter nhaskell

    (@nhaskell)

    I tried again, re-read all the faq and installation info and the same thing happens.. one thing to note, this is a lightsail instance running a bitnami wordpress..
    https://prnt.sc/5gcmR_Qn8Mu1

    https://prnt.sc/VpdYbARfqovC

    https://prnt.sc/4DTNybNl58rN

    Plugin Author luckychingi

    (@luckychingi)

    Are you comfortable making changes to the code or would you prefer to give me access to the website?

    I’d like to check the value of the result variable in line 398

    Thread Starter nhaskell

    (@nhaskell)

    What access do you need? I don’t mind, its a startup site and doesn’t have any content yet.

    Thread Starter nhaskell

    (@nhaskell)

    Alternatively I have no problem changing code…

    Plugin Author luckychingi

    (@luckychingi)

    Can you send the details through my website?

    Thread Starter nhaskell

    (@nhaskell)

    I may have more details for you. I just installed on a different site and it worked. The only difference is that on the site with the issue I added the access/secret to the wp-config file so that the info was already displayed on the form. On this second site I manually entered the credentials into the form instead of preloading it into the php and it worked. I will remove it from the wp-config.php on the site with the error and let you know the result.

    Thread Starter nhaskell

    (@nhaskell)

    removing the access/secret key from the wp-config.php file didn’t fix it… credentials sent through your site.

    Thread Starter nhaskell

    (@nhaskell)

    I thought i was getting an error and created new access credentials but still just get a processing message then nothning.

    • This reply was modified 3 years, 2 months ago by nhaskell.
Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Create Distribution button does not create a CDN’ is closed to new replies.