berstein Posted May 12, 2023 Share Posted May 12, 2023 (edited) I'm currently creating a module using guzzlehttp/guzzle and symfony/mailer package. The module works as intended, it grabs data from API and send email using symfony mailer by copying the SMTP credential from WHMCS configuration in database. But, after few times sending email, I'm starting to get ErrorException when opening pages in WHMCS (mostly those which URL ended with index.php). From the error stack, it says the error comes from Laminas\Diactoros package. I don't have any experience with that module and I don't know why it is used by WHMCS. Anyobody have a clue about Laminas\Diactoros package and what it does? Whoops\Exception\ErrorException: Declaration of Laminas\Diactoros\ServerRequest::withCookie Params(array $cookies): Laminas\Diactoros\ServerRequest must be compatible with Psr\Http\Message\ServerRequestInterface::withCookie Params(array $cookies) Edited May 12, 2023 by berstein 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.