• Resolved jituoou

    (@jituoou)


    I hope this message finds you well. I am currently facing an issue while attempting to configure AWS CloudFront for CDN. Specifically, when providing the Access Key ID and Secret Access Key and initiating the Create distribution process, the operation fails. Upon investigation within the network tab, I observed a 500 error, with the following details:

    Uncaught Error: Call to undefined function Aws\is_valid_hostlabel()
    in the file w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php
    on line?886

    • This topic was modified 11 months, 1 week ago by jituoou.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jituoou

    (@jituoou)

    Here is the call stack.

    Fatal error: Uncaught Error: Call to undefined function Aws\is_valid_hostlabel()
    in?/public_html/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php?on line?886

    Call stack:

    1. Aws\ClientResolver::isValidRegion()
      wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php:542
    2. Aws\ClientResolver::_apply_endpoint_provider()
      wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientResolver.php:323
    3. Aws\ClientResolver::resolve()
      wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/AwsClient.php:199
    4. Aws\AwsClient::__construct()
      wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php:43
    5. W3TC\CdnEngine_Mirror_CloudFront::_init()
      wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php:203
    6. W3TC\CdnEngine_Mirror_CloudFront::create_container()
      wp-content/plugins/w3-total-cache/Cdn_AdminActions.php:477
    7. W3TC\Cdn_AdminActions::w3tc_cdn_create_container()
      wp-content/plugins/w3-total-cache/Root_AdminActions.php:25
    8. W3TC\Root_AdminActions::execute()
      wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php:135
    9. W3TC\Generic_Plugin_Admin::load()
      wp-includes/class-wp-hook.php:324
    10. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    11. WP_Hook::do_action()
      wp-includes/plugin.php:517
    12. do_action()
      wp-admin/admin.php:237
    Thread Starter jituoou

    (@jituoou)

    Sorry, I found the issue. It has a conflict with our developed plugin. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AWS CloudFront Distribution Creation Error’ is closed to new replies.