I am running steam api example code (taken from https://github.com/zyberspace/php-steam-web-api-client) and getting an error, saying
Call to undefined function GuzzleHttp\\Handler\\curl_reset()
i looked it up, and the answer was: update php. My php is already php7. Any idea what am I doing wrong?
require('vendor/autoload.php');
$client = new \Zyberspace\SteamWebApi\Client('someverylongnumber');
$steamUser = new \Zyberspace\SteamWebApi\Interfaces\ISteamUser($client);
$response = $steamUser->GetPlayerSummariesV2('76561198059720690');
I had exactly the same problem. It worked perfectly fine on my local installation and on the test server, but not on the other hosting company's installation.
On all three PHP 5.6 was installed, so it had definitely nothing to do with the PHP version.
I found this solution: removed curl_reset() and used
curl_setopt($curl_handle, CURLOPT_HTTPGET, 1);
curl_setopt($curl_handle, CURLOPT_POST, false);
As described in this question Fatal error curl_reset() undefined why?
Unfortunately I didn't have enough 'reputations' here, so I couldn't simply up-vote that solution there.