humanmade / S3-Uploads

The WordPress Plugin to Store Uploads on Amazon S3
1.94k stars 389 forks source link

Call to undefined method Aws\\Middleware::recursionDetection() #591

Closed trungtn closed 2 years ago

trungtn commented 2 years ago

Hi,

I just installed s3-uploads plugin via composer. When I run the command to verify the installation wp s3-uploads verify, I got this error:

Call to undefined method Aws\\Middleware::recursionDetection()

Trying different things (wp s3-uploads ls or trying to upload an image on the admin page) also gave me the same error.

Has anyone experienced this issue before? I really appreciate any support.

PHP version: 7.4 WP version: 5.8

Best regards, Trung.

trungtn commented 2 years ago

I figured it out. I messed up the aws dependencies locally. I have 2 vendor folders, one in the root directory and another one in another directory. Removing one solves the error.