Guzzle vendor problem
-
Hello.
Could you help me? I got fatal while checkking mailerlite API.
My framework use guzzle latest.
[2024-02-22 10:14:51] production.ERROR: Call to undefined method GuzzleHttp\Utils::chooseHandler() {"userId":null,"email":null,"exception":"[object] (Error(code: 0): Call to undefined method GuzzleHttp\\Utils::chooseHandler() at /framework/vendor/guzzlehttp/guzzle/src/functions.php:61) [stacktrace] #0 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/guzzle6-adapter/src/Client.php(75): GuzzleHttp\\choose_handler() #1 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/guzzle6-adapter/src/Client.php(36): Http\\Adapter\\Guzzle6\\Client::buildClient() #2 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/discovery/src/ClassDiscovery.php(219): Http\\Adapter\\Guzzle6\\Client->__construct() #3 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(30): Http\\Discovery\\ClassDiscovery::instantiateClass() #4 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(141): Http\\Discovery\\Psr18ClientDiscovery::find() #5 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(111): MailerLiteApi\\Common\\RestClient->getHttpClient() #6 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/helpers/class-mailerlite-api-rest-client-wrapper.php(12): MailerLiteApi\\Common\\RestClient->send() #7 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/RestClient.php(46): Ari_Cf7_Connector_Plugins\\Mailerlite\\Helpers\\Mailerlite_Api_Rest_Client_Wrapper->send() #8 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/mailerlite/mailerlite-api-v2-php-sdk/src/Common/ApiAbstract.php(43): MailerLiteApi\\Common\\RestClient->get() #9 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/helpers/class-mailerlite.php(52): MailerLiteApi\\Common\\ApiAbstract->get() #10 /framework/htdocs/content/plugins/ari-cf7-connector/cf7_addons/mailerlite/controllers/mailerlite/class-ajax-check-apikey.php(29): Ari_Cf7_Connector_Plugins\\Mailerlite\\Helpers\\Mailerlite->check_apikey() #11 /framework/htdocs/content/plugins/ari-cf7-connector/includes/controllers/plugin-dispatcher/class-ajax-request.php(38): Ari_Cf7_Connector_Plugins\\Mailerlite\\Controllers\\Mailerlite\\Ajax_Check_Apikey->execute() #12 /framework/htdocs/content/plugins/ari-cf7-connector/libraries/arisoft/core/controllers/class-ajax.php(21): Ari_Cf7_Connector\\Controllers\\Plugin_Dispatcher\\Ajax_Request->process_request() #13 /framework/htdocs/content/plugins/ari-cf7-connector/libraries/arisoft/core/app/class-plugin.php(68): Ari\\Controllers\\Ajax->execute() #14 /framework/htdocs/content/plugins/ari-cf7-connector/libraries/arisoft/core/app/class-plugin.php(27): Ari\\App\\Plugin->ajax_dispatcher() #15 /framework/htdocs/cms/wp-includes/class-wp-hook.php(324): Ari\\App\\Plugin->Ari\\App\\{closure}() #16 /framework/htdocs/cms/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #17 /framework/htdocs/cms/wp-includes/plugin.php(517): WP_Hook->do_action() #18 /framework/htdocs/cms/wp-admin/admin-ajax.php(188): do_action() #19 {main} "}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Guzzle vendor problem’ is closed to new replies.