Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Call to undefined function GuzzleHttp\\Handler\\curl_reset() with php 7

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');
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

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.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!