• Hi,
    there is a problem with this plugin – I’m using 1.5.3 version on the latest WordPress. The plugin causes fatal error after upgrade to the latest WP version. Currently the plugin is inactive. Reinstalling the plugin doestn’t help.

    Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /mysiteadresss.com/wp-content/plugins/woo-mailerlite/vendor/guzzlehttp/guzzle/src/functions.php:61 Stack trace: #0 /mysiteadresss.com/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 
    /mysiteadresss.com/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 
    /mysiteadresss.com/wp-content/plugins/woo-mailerlite/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(115): GuzzleHttp\Client->__construct() #3 /mysiteadresss.com/wp-content/plugins/woo-mailerlite/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(47): MailerLiteApi\Common\RestClient->send() #4 /hmysiteadresss.com/wp-content/plugins/woo-mailerlite/vendor/guzzlehttp/guzzle/src/functions.php on line 61

    Line 61 is “return Utils::chooseHandler();” in this fragment of code:

    function choose_handler(): callable
    {
    return Utils::chooseHandler();
    }

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The same issue here since yesterday update
    Please solve this asap
    Thank you!

    +1. Same issue here (until 1.5.0) I think it cause of update to WP 5.7.

    Please provide solution.

    Version – 1.5.3

    `Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /…/wp-content/plugins/woo-mailerlite/vendor/guzzlehttp/guzzle/src/functions.php:61 Stack trace: #0 /…/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 /…/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 /…/wp-content/plugins/woo-mailerlite/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(115): GuzzleHttp\Client->__construct() #3 /…/wp-content/plugins/woo-mailerlite/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(59): MailerLiteApi\Common\RestClient->send(‘POST’, ‘woocommerce/sav…’, Array) #4 /…/wp-content/plugins/wo in /…/wp-content/plugins/woo-mailerlite/vendor/guzzlehttp/guzzle/src/functions.php on line 61

    Same problem here. Any solutions?

    There is an update know to 1.5.4

    Works fine now. Thx.

    Same problem here. Waiting for an update!

    I just realized that the people before me say the issue is fixed in 1.5.4. For me, it isn’t. When WooCommerce Mailerlite is active, the plugin causes a fatal error in BackWPup (because of GuzzleHttp) and all my backups fail. The error can also be seen on the settings page of BackWPup, on the tab which controls the remote destination. (in my case Amazon S3)

    My guess is you are using the library without namespacing it and this clashes with other plugins that use it. Pixel Caffeine had the same problem a few months ago.

    I can confirm the issue persists and when contacting MailerLite’s support they informed me they are aware of the issue and are working to fix it.

    The issue still persists with the current version 1.5.5.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Guzzle integration causes fatal error’ is closed to new replies.