Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

count(): Parameter must be an array or an object that implements Countable. #141

Closed
Robjam opened this issue May 24, 2018 · 2 comments
Closed

Comments

@Robjam
Copy link

Robjam commented May 24, 2018

Moved from old repository

Environment:
PHP 7.2
WordPress 4.6.5

Error:
count(): Parameter must be an array or an object that implements Countable.
at line 67 of HttpGuzzle/handler/CurlFactory.php

This issue was resolved in HttpGuzzle in 6.3.

It also appears the google sdk had a similar issue that was resolved.

@XiaoningLiu
Copy link
Member

Hi @Robjam

We depends on Guzzle ~6.0, and will automatically install latest guzzle.

"guzzlehttp/guzzle": "~6.0"

@Robjam
Copy link
Author

Robjam commented May 28, 2018

Works for me. Thanks for the info!

@Robjam Robjam closed this as completed May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants