BuzzingPixel

Ansel for Craft

Ansel for EE

Treasury

Construct

Category Construct

Dashboard (open an issue here)

All Issues

My Issues

News Contact
Log in

Logged in as

Licenses Purchases Profile Change Password Billing Portal Admin
Log Out
Software
Ansel for Craft Ansel for EE Treasury Construct Category Construct
Support
Dashboard (open an issue here) All Issues My Issues
News Contact
Log in
Logged in as:
Licenses Purchases Profile Change Password Billing Portal Log Out
Dashboard All Issues My Issues
Support Dashboard
  1. Home
  2. Home
  3. Support Dashboard
  4. View Issue

Guzzle Error on file upload

#172 opened by Mike

Subscribe

Details

Accepted

Public Issue

Visibility: Public
1 reply
Last reply by TJ Draper
Created 3/16/2020 2:55 PM
Updated 3/16/2020 4:45 PM
Treasury 1.1.1
CMS Version: 5.3.0
PHP Version: 7.2.24
MySQL Version: 10.2.10-MariaDB

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).

Use Markdown for formatting

Details

Accepted

Public Issue

Visibility: Public
1 reply
Last reply by TJ Draper
Created 3/16/2020 2:55 PM
Updated 3/16/2020 4:45 PM
Treasury 1.1.1
CMS Version: 5.3.0
PHP Version: 7.2.24
MySQL Version: 10.2.10-MariaDB
Cookie Policy
Privacy Policy
Terms of Service

© 2023 BuzzingPixel, LLC. All rights reserved.