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
질문됨 2년 전253회 조회
2개 답변
1
수락된 답변

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

답변함 2년 전
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠