Recoverable fatal error: Argument 1 passed to AmazonS3::__construct() must be an array, string given, called in /home/xxxx/public_html/sites/all/modules/AmazonS3/amazons3.module on line 66 and defined en AmazonS3->__construct() (línea 438 de /home/xxxx/public_html/sites/all/libraries/awssdk/services/s3.class.php).
When saving Bucket Name in Amazon3s configuration /admin/config/media/amazons3.
Error also with latest dev version.
AWSSDK version: 1.5.14, compatibility test passed OK.
When bucket name saved directly on variable system it is recongnized but throw same error after zencoder converts video:
Recoverable fatal error: Argument 1 passed to AmazonS3::__construct() must be an array, string given, called in /home/xxxx/public_html/sites/all/modules/AmazonS3/AmazonS3StreamWrapper.inc on line 374 and defined en AmazonS3->__construct() (línea 438 de /home/xxxx/public_html/sites/all/libraries/awssdk/services/s3.class.php).

Comments

paulmckibben’s picture

I also get this same error when I try to save the bucket name.
AWSSDK version 1.5.10 downloaded by drush_make.

paulmckibben’s picture

Real issue is that the amazons3 module is not compatible with the latest awssdk module and corresponding library version.

I replaced the awssdk module with version 7.x-4.8, and the library version 1.4.8.1, and that works much better.

Either the project page for amazons3 needs to be updated to specify the version of awssdk, or the amazons3 needs to be updated for compatibility with the latest version of awssdk.

paulmckibben’s picture

Issue summary: View changes

Added information of AWSSDK and error genetared after transcoding video

justafish’s picture

Issue summary: View changes
Status: Active » Fixed

I've added a recommended AWK SDK version to the project page

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.