googleworkspace / php-samples

PHP samples for Google Workspace APIs
Apache License 2.0
288 stars 348 forks source link

guzzlehttp error #37

Closed Universum01 closed 5 years ago

Universum01 commented 5 years ago

Enter verification code: 4/2wADbs9_wqAJ**1 2 Skip a few***QwZ9NNvlSWfSy5 gU PHP Warning: count(): Parameter must be an array or an object that implements C ountable in C:\xampp\composer\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.p hp on line 67

Warning: count(): Parameter must be an array or an object that implements Counta ble in C:\xampp\composer\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 67 Name, Major: Alexandra, English Andrew, Math Anna, English Becky, Art Benjamin, English Carl, Art Carrie, English Dorothy, Math Dylan, Math Edward, English Ellen, Physics Fiona, Art John, Physics Jonathan, Math Joseph, English Josephine, Math Karen, English Kevin, Physics Lisa, Art Mary, Physics Maureen, Physics Nick, Art Olivia, Physics Pamela, Math Patrick, Art Robert, English Sean, Physics Stacy, Math Thomas, Art Will, Math

C:\xampp\composer\vendor>

erickoledadevrel commented 5 years ago

This appears to be a warning, not an error, as the code continued to execute correctly. According the issue tracker for the library, this was fixed in version 2.2.2:

https://github.com/googleapis/google-api-php-client/issues/1507#issuecomment-435979900

Can you try upgrading to that version and let me know if it resolves the error?

erickoledadevrel commented 5 years ago

Please follow issue #29 instead.