BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Guzzle Error on file upload
#172 opened by Mike
Description
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
Severity: E_WARNING
Any ideas on what’s causing this?
Replies
- TJ Draper
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).