Freeze Guzzle to 6.5.0 until the intl issue has been remedied?
lesaff opened this issue · comments
When running hubspot-php
with the latest Guzzle (6.5.2), I get this error
Call to undefined function GuzzleHttp\_idn_uri_convert()
This is related to guzzle/guzzle#2511
Perhaps Guzzle requirement in the composer should be locked to 6.5.0
for the time being until the issue has been remedied?
What do you think?
I tried rolling back to 6.5.0
from 6.5.2
and it changed my _idn_uri_covert()
error to Uncaught Error: Call to undefined function GuzzleHttp\Psr7\get_message_body_summary()
, so rolling back didn't fix it for me
Mine works fine after rolling back to 6.5.0
Have you tried clearing your autoload to flush composer cache?
I ended up finding the issue, another 3rd party a previous developer had used and that thing was using guzzle directly, not through composer, it was using version 6.3.x
, so autoloader was saying that the functions.php
file so it didnt load the proper functions.php
file, and the new version in the new files relied on functions that didnt used to exist, so was a conflict thing for me, from bad things a previous dev had done, and were burried in a different part of the project
@lesaff @jay-oswald
I've just checked it
it works fine for me
guzzlehttp/guzzle 6.5.2
@ksvirkou-hubspot Do you have ext-intl
installed? I should probably add it for testing purpose.
This is what came up in the error
"suggest": { "psr/log": "Required for using the Log middleware", "ext-intl": "Required for Internationalized Domain Name (IDN) support" }