Nexy Client's constructor expects Psr\Http\Client\ClientInterface
...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?
@tooshay you probably need to update your HTTP client packages as well, e.g. php-http/guzzle6-adapter.
...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
I didn't go back to this since the response above yours. My team has ditched the upgrade to 5.0 (we stopped at 4.3) so I don't have an answer. I am tracking this thread, though.
On Mon, 20 Feb 2023 at 12:52, gohancrafting @.***> wrote:
...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
— Reply to this email directly, view it on GitHub https://github.com/nexylan/slack-bundle/issues/46#issuecomment-1436967109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLYZN42JWBO44EIYX4BEDWYNSIPANCNFSM6AAAAAATEWYNGY . You are receiving this because you were mentioned.Message ID: @.***>