Cannot install cloudfront on Lightsail

0

Hi, I received the following error when attempting to activate the AWS plugin on lightsail. I asked in the Bitnami forums, but their staff said to post here. Any ideas? Thanks!

Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Psr7\uri_for() in /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php:35 Stack trace: #0 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/Api/Serializer/RestJsonSerializer.php(29): Aws\Api\Serializer\RestSerializer->__construct() #1 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/Api/Service.php(90): Aws\Api\Serializer\RestJsonSerializer->__construct() #2 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/ClientResolver.php(753): Aws\Api\Service::createSerializer() #3 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/ClientResolver.php(295): Aws\ClientResolver::_default_serializer() #4 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/AwsClient.php(199): Aws\ClientResolver->resolve() #5 /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-ph in /bitnami/wordpress/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php on line 35

minimad
asked 2 years ago249 views
2 Answers
1
Accepted Answer

I have replicated the Environment in my LAB, By using Lightsail AWS WordPress Version 5.8.2-4 with the instance type Specifications [2 GB Ram, 1 vcpu, and 60GB SSD].

I have Logged in as Admin User by the Default Credentials provided by Bitnami

`cat /home/bitnami/bitnami_credentials`

I tried to add new plugin from the Wordpress Admin console and added a plugin AWS for WordPress I never faced any issue/Error reported above, Once i have installed the plugin and i have activated the plugin by one Click.

After the installation you need to provide the AWS Acess_Key and Secret_Key to connect to the AWS account via API authentication. You can find more information by checking the AWS documenation link https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/WordPressPlugIn.html

If you are still facing the issues, I would like to debug the issue for you in a detailed way.

Thank You

answered 2 years ago
0

Hi Ganesh, Thanks ever so much for your reply. Much appreciated! Since my original post, I ran up a new instance and noted the plug-in was already installed, and had no issues with it. I wonder if the original did and it was removed. Thanks and best wishes,

minimad
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions