• Resolved stevoli

    (@stevoli)


    My error log is filled with this error, seems like it started on December 8th. It looks like it is a compatibility issue with the Amelia plugin.

    I get no errors if I set the type to default or SMTP, it only happens when using Mailgun.

    [8-Dec-2022 18:30:31 UTC] PHP Fatal error: Declaration of Http\Client\Curl\Client::sendRequest(Psr\Http\Message\RequestInterface $request) must be compatible with Psr\Http\Client\ClientInterface::sendRequest(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface in /wp-content/plugins/ameliabooking/vendor/php-http/curl-client/src/Client.php on line 111

    When I try to send a test email through your plugin, it throws this error:

    Send The Message
    Sending the message: Ajax Error

    An unexpected error occurred:
    <p>There has been a critical error on this website.</p><p>Learn more about troubleshooting WordPress.</p>

Viewing 7 replies - 1 through 7 (of 7 total)
  • @stevoli Hi,

    I hope you are doing.

    We have fixed this issue on our beta version; you can create a backup of your website and test it.

    You can download the Beta Version from here.

    Thanks

    I am still facing this issue in production with the 2.2.3 version that is currently available. The linked version provided in the reply above is working, but it seems to only be version 2.1.10.

    The PHP Fatal Error I am getting in PHP 8 is the same as the OP:

    [30-Dec-2022 20:10:16 UTC] PHP Fatal error:  Declaration of Http\Client\Curl\Client::sendRequest(Psr\Http\Message\RequestInterface $request) must be compatible with Psr\Http\Client\ClientInterface::sendRequest(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface in /home/vancouverhorse/public_html/wp-content/plugins/ameliabooking/vendor/php-http/curl-client/src/Client.php on line 111
    Thread Starter stevoli

    (@stevoli)

    @alteropax I ended up switching to WP Mail by WP Forms for my Amelia site, I’ve had nothing but problems with this plugin for the past 6+ months, it always has some sort of conflict with Amelia.

    e.g. – https://ww.wp.xz.cn/support/topic/another-fatal-error-with-latest-update/

    Just for S & G, I enabled the plugin to see if it works, and I’m getting the same PHP fatal error.

    • This reply was modified 3 years, 5 months ago by stevoli. Reason: followup

    @stevoli @alteropax

    We have updated the SDK in our latest plugin; please test it and let me know.

    Sorry for the inconvenience.

    Thanks

    Thread Starter stevoli

    (@stevoli)

    @haseeb0001 that seems to have fixed it, thanks for the update

    The newest version is also working for me across our network of sites. @haseeb0001 Thank you for the assistance.

    @stevoli @alteropax

    Great, thanks for your response.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘PHP-HTTP Errors with Mailgun’ is closed to new replies.