AWS S3 bucket is not working in Moodle

AWS S3 bucket is not working in Moodle

by Sandhata Support -
Number of replies: 1
Hi,

AWS S3 bucket is not working in Moodle  after upgraded moodel to 4.2 and upgraded php 8.

i am getting The below error while amazon s3 repository.

Error :  Exception - Undefined constant GuzzleHttp\Client::VERSION
Attachment s3 error.png
Average of ratings: -
In reply to Sandhata Support

Re: AWS S3 bucket is not working in Moodle

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
The S3_bucket repository plugin does not work in MOODLE_402_STABLE because the aws_local plugin is not yet 100% compatible.

Guzzle was introduced in MOODLE_402_STABLE, but was already part of aws_local, so you end up with 2 versions of Guzzle in one installation. And those two have to learn to live together. Perhaps you could contribute to #issue 65 ?