slack-bundle icon indicating copy to clipboard operation
slack-bundle copied to clipboard

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

Open tooshay opened this issue 3 years ago • 3 comments

...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 avatar Dec 20 '22 16:12 tooshay

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

nicodemuz avatar Dec 25 '22 08:12 nicodemuz

...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

gohancrafting avatar Feb 20 '23 12:02 gohancrafting

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: @.***>

tooshay avatar Feb 20 '23 13:02 tooshay