Support » Plugin: Amazon AWS CDN » 500 Error

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @peanutbutterstuck

    Is this a custom web server?

    If yes, check if the following packages are installed
    php-xml && php-curl

    php-xml was missing unfortunately still not working still getting 500 errors 🙁

    Plugin Author luckychingi

    (@luckychingi)

    any hints in the log file?

    Plugin Author luckychingi

    (@luckychingi)

    what version of PHP are you using?

    PHP Version:
    PHP 7.3.8 (cli) (built: Aug 20 2019 00:14:28) ( NTS )

    Nothing in the logs aside from the 500 Errors 🙁

    10/Oct/2019:16:24:09 +0000] “GET /wp-admin/admin-ajax.php?action=wpaac_list_cdn&wpaac_ak=<Key>&wpaac_sk=<secret>&wpaac_ori=wordpress-1308086146.ca-central-1.elb.amazonaws.com HTTP/1.1” 500

    Plugin Author luckychingi

    (@luckychingi)

    Unfortunately, its not easy to troubleshoot such errors.

    did you try WP Debug ?

    Plugin Author luckychingi

    (@luckychingi)

    Closing this topic as no reply received

    Hi @luckychingi I am having the same issue, checked PHP it’s 7.3 and curl, xmlreader, xmlrpc, and xmlwriter are installed, here is the error from the server:

    GET /wp-admin/admin-ajax.php?action=wpaac_list_cdn&wpaac_ak=AKIXXXXXXXXXXXXT&wpaac_sk=Mw8XXXXXXXXXXXXXXXXXXXhyzmJDo&wpaac_ori=XXXX.XXXXX.com HTTP/1.0

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Class ‘Aws\\CloudFront\\CloudFrontClient’ not found in /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-content/plugins/aws-cdn-by-wpadmin/aws-cdn.php:768\nStack trace:\n#0 /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-content/plugins/aws-cdn-by-wpadmin/aws-cdn.php(696): wpaawscdn->wpaac_authClient(‘AKIAYAP7ELVVAY7…’, ‘Mw8tYmSNAz//VTB…’)\n#1 /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-includes/class-wp-hook.php(288): wpaawscdn->wpaac_list_cdn(”)\n#2 /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)\n#3 /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#4 /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_wpaac_l…’)\n#5 {main}\n thrown in /var/www/vhosts/dev.XXXXXXX.com/httpdocs/wp-content/plugins/aws-cdn-by-wpadmin/aws-cdn.php on line 768\n’, referer: https://dev.XXXXXXX.com/wp-admin/admin.php?page=wpa-aws-cloudfront Apache error
    2020-02-20 16:58:35 Access 172.68.94.169 200 GET /w

    We’re running latest WP version and latest plugin version. Please let me know if you need more information of if the PHP class error is clear enough to fix, thank you.

    Plugin Author luckychingi

    (@luckychingi)

    hello @motaz_shazly

    Do you have any other plugin that uses the AWS SDK?

    I did disable all other plugins, and it worked again, I need to go through each to see which one is conflicting, will share an update accordingly FYI, I assume based on knowing the plugin you can potentially propose a fix, no?

    Thank you,
    Motaz

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.