netflie / whatsapp-cloud-api

The first PHP API to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform
https://netflie.es/portfolio/whatsapp-business-cloud-api-php-sdk/
MIT License
428 stars 151 forks source link

Server issue... #156

Closed CeloGomesBR closed 7 months ago

CeloGomesBR commented 7 months ago

Hi, In my local computer running wamp server it works well. But in server the error message is: "Unresolvable dependency resolving [Parameter #0 [ array $config ]] in class Netflie\WhatsAppCloudApi\WhatsAppCloudApi"

Could you help me? My PHP version is 8.2 (both, server and localhost)

aalbarca commented 7 months ago

Hello,

This error is not the fault of this package.

The error comes from your project code due to a bad use of dependency injection.

We can only fix bugs that depend on this package.

For premium support with your code please make a donation to keep this project alive. In return you will receive premium support to review your project code.

You can do this at https://github.com/sponsors/aalbarca

Thanks.