We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP version: 7.4.3
Description After update of GuzzleHttp lib (via composer) , I had this issue:
PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\\Psr7\\uri_for() php-http/message/src/UriFactory/GuzzleUriFactory.php
How to reproduce Since upgrade (in my case) v2.1.7 dependency lib GuzzleHttp\Psr7 to v2.1.7
Possible Solution it seems coming from deprecated use of function : php-http\message\src\UriFactory\GuzzleUriFactory.php
original return Psr7\uri_for($uri);
return Psr7\uri_for($uri);
correction : return Psr7\Utils::uriFor($uri);
return Psr7\Utils::uriFor($uri);
I only fast edit this fix. I didn't check all deprecated functions used.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
PHP version: 7.4.3
Description
After update of GuzzleHttp lib (via composer) , I had this issue:
How to reproduce
Since upgrade (in my case) v2.1.7 dependency lib GuzzleHttp\Psr7 to v2.1.7
Possible Solution
it seems coming from deprecated use of function :
php-http\message\src\UriFactory\GuzzleUriFactory.php
original
return Psr7\uri_for($uri);
correction :
return Psr7\Utils::uriFor($uri);
I only fast edit this fix. I didn't check all deprecated functions used.
The text was updated successfully, but these errors were encountered: