Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

226
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda