I’ve connected an AWS bucket which is working initially, it displays files I’ve uploaded directly via the AWS control panel. However when I try to upload a file via the add-on I get the following error:
count(): Parameter must be an array or an object that implements Countable user/addons/treasury/Vendor/aws/GuzzleHttp/Handler/CurlFactory.php, line 67
Any ideas on what’s causing this?
Replied 3/16/2020 4:45 PM
Looks like the AWS api version I’m using in Treasury is not fully compatible with PHP 7.x
The good news is, it’s just an E_WARNING, meaning it "should" work and you can hide this error with your PHP error level settings (which you’ll probably only want to do in production so you can continue to catch these errors in development).