Title: Getting error while testing connection
Last modified: November 27, 2024

---

# Getting error while testing connection

 *  Resolved [avinashx](https://wordpress.org/support/users/avinashx/)
 * (@avinashx)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/)
 * Unexpected token ‘D’, ” Deprecated”… is not valid JSON

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/#post-18166065)
 * Hi [@avinashx](https://wordpress.org/support/users/avinashx/) 
   Please provide
   more details about the error, including where and when you encounter it. Send
   screenshots if possible.
 *  Thread Starter [avinashx](https://wordpress.org/support/users/avinashx/)
 * (@avinashx)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/#post-18166431)
 * [https://drive.google.com/file/d/1t-gZDV8Ox_EsZwCaVveS8Vv-LBAVtfyM/view?usp=sharing](https://drive.google.com/file/d/1t-gZDV8Ox_EsZwCaVveS8Vv-LBAVtfyM/view?usp=sharing)
   
   Here’s the screenshot.I have entered the credentials in the wp-config.php but
   when I test connection I get this.
    -  This reply was modified 1 year, 6 months ago by [avinashx](https://wordpress.org/support/users/avinashx/).
 *  Thread Starter [avinashx](https://wordpress.org/support/users/avinashx/)
 * (@avinashx)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/#post-18166442)
 * Deprecated: Use of “self” in callables is deprecated in /var/www/html/wp-content/
   plugins/offload-media-cloud-storage/includes/s3/vendor/aws/aws-sdk-php/src/S3/
   RegionalEndpoint/ConfigurationProvider.php on line 83
 * Fatal error: Uncaught Error: Call to undefined method Aws\S3\RegionalEndpoint\
   Configuration::isFallback() in /var/www/html/wp-content/plugins/advanced-media-
   offloader/vendor/aws/aws-sdk-php/src/S3/S3Client.php:858
   Stack trace: 0 /var/
   www/html/wp-content/plugins/advanced-media-offloader/vendor/aws/aws-sdk-php/src/
   S3/S3Client.php(385): Aws\S3\S3Client->addBuiltIns(Array) 1 /var/www/html/wp-
   content/plugins/advanced-media-offloader/includes/Integrations/AmazonS3.php(24):
   Aws\S3\S3Client->__construct(Array) 2 /var/www/html/wp-content/plugins/advanced-
   media-offloader/includes/Abstracts/S3_Provider.php(79): Advanced_Media_Offloader\
   Integrations\AmazonS3->getClient() 3 /var/www/html/wp-content/plugins/advanced-
   media-offloader/includes/Admin/GeneralSettings.php(331): Advanced_Media_Offloader\
   Abstracts\S3_Provider->checkConnection() 4 /var/www/html/wp-includes/class-wp-
   hook.php(324): Advanced_Media_Offloader\Admin\GeneralSettings->check_connection_ajax(”)
   5 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”,
   Array) 6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
   7 /var/www/html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_advmo_t…’) 8{
   main}
 * thrown in /var/www/html/wp-content/plugins/advanced-media-offloader/vendor/aws/
   aws-sdk-php/src/S3/S3Client.php on line 858
 * There has been a critical error on this website.
 * Thia is the network tab error error on API call.
 *  Plugin Author [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * (@masoudin)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/#post-18170438)
 * [@avinashx](https://wordpress.org/support/users/avinashx/) 
   Do you have any other
   offload plugins active on your website? If so, please disable them and keep only
   the Advanced Media Offload active. Then, run the test again.If your issue didn’t
   resolve, please contact us at [hi@wpfitter.com](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/hi@wpfitter.com?output_format=md).
   Our support team will gladly assist you by reviewing your configuration at no
   charge.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Getting error while testing connection’ is closed to new replies.

 * ![](https://ps.w.org/advanced-media-offloader/assets/icon.svg?rev=3213156)
 * [Advanced Media Offloader](https://wordpress.org/plugins/advanced-media-offloader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-media-offloader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-media-offloader/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-media-offloader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-media-offloader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-media-offloader/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Masoud Golchin](https://wordpress.org/support/users/masoudin/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/getting-error-while-testing-connection-2/#post-18170438)
 * Status: resolved