Skip to content
New issue

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

Nexy Client's constructor expects Psr\Http\Client\ClientInterface #46

Open
tooshay opened this issue Dec 20, 2022 · 3 comments
Open

Nexy Client's constructor expects Psr\Http\Client\ClientInterface #46

tooshay opened this issue Dec 20, 2022 · 3 comments

Comments

@tooshay
Copy link

tooshay commented Dec 20, 2022

...But an instance of Http\Client\Common\PluginClient given.

This used to work, but after upgrading various packages (alongside a move to SF5.0 from 4.3), this is the error I'm now getting.

I've been digging through Symfony's DI documentation to figure out why this is happening but have yet to figure it out.

Can anyone help?

@nicodemuz
Copy link

@tooshay you probably need to update your HTTP client packages as well, e.g. php-http/guzzle6-adapter.

@gohancrafting
Copy link

...But an instance of Http\Client\Common\PluginClient given.

This used to work, but after upgrading various packages (alongside a move to SF5.0 from 4.3), this is the error I'm now getting.

I've been digging through Symfony's DI documentation to figure out why this is happening but have yet to figure it out.

Can anyone help?

Do you find any solution?
i have a very similar problem

@tooshay
Copy link
Author

tooshay commented Feb 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants