• Resolved AngeloLazzari

    (@angelolazzari)


    Hi, in the debug I can see this:

    [21-Nov-2022 15:28:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/vendor/guzzlehttp/guzzle/src/functions.php:61
    Stack trace:
    #0 /home/kjodobycx/public_html/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler()
    #1 /home/kjodobycx/public_html/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create()
    #2 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(1213): GuzzleHttp\Client->__construct(Array)
    #3 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(1163): Google\Client->createDefaultHttpClient()
    #4 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(342): Google\Client->getHttpClient()
    #5 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(320): Google\Client->fetchAccessTokenWithRefreshToken('1//xxxxx...')
    #6 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/google-sheets.php(90): Google\Client->refreshToken('1//09a8R4XMTFZE...')
    #7 /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/includes/class-gs-service.php(179): CF7GSC_googlesheet->auth()
    #8 /home/kjodobycx/public_html/wp-includes/class-wp-hook.php(308): Gs_Connector_Service->cf7_save_to_google_sheets(Object(WPCF7_ContactForm))
    #9 /home/kjodobycx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #10 /home/kjodobycx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /home/kjodobycx/public_html/wp-content/plugins/contact-form-7/includes/submission.php(117): do_action('wpcf7_mail_sent', Object(WPCF7_ContactForm))
    #12 /home/kjodobycx/public_html/wp-content/plugins/contact-form-7/includes/submission.php(33): WPCF7_Submission->proceed()
    #13 /home/kjodobycx/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php(1047): WPCF7_Submission::get_instance(Object(WPCF7_ContactForm), Array)
    #14 /home/kjodobycx/public_html/wp-content/plugins/contact-form-7/includes/rest-api.php(357): WPCF7_ContactForm->submit()
    #15 /home/kjodobycx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1171): WPCF7_REST_Controller->create_feedback(Object(WP_REST_Request))
    #16 /home/kjodobycx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/contact-form-7...', Array, NULL)
    #17 /home/kjodobycx/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #18 /home/kjodobycx/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/contact-form-7...')
    #19 /home/kjodobycx/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
    #20 /home/kjodobycx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #21 /home/kjodobycx/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #22 /home/kjodobycx/public_html/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array)
    #23 /home/kjodobycx/public_html/wp-includes/class-wp.php(780): WP->parse_request('')
    #24 /home/kjodobycx/public_html/wp-includes/functions.php(1332): WP->main('')
    #25 /home/kjodobycx/public_html/wp-blog-header.php(16): wp()
    #26 /home/kjodobycx/public_html/index.php(17): require('/home/kjodobycx...')
    #27 {main}
      thrown in /home/kjodobycx/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/vendor/guzzlehttp/guzzle/src/functions.php on line 61

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author westerndeal

    (@westerndeal)

    Hello @angelolazzari
    Thanks for getting in touch,o
    It looks you are using the plugin “backwpup” which also uses the Google API but the lower version, therefore it conflicts with our plugin, as our latest version of Google API and HTTPGuzzle version is used.

    Please contact the backwpup developer to update the library.
    For now deactivate a plugin backwpup for a while to check and confirm!

    Hope this helps!

    Thanks
    Abdullah

    Thread Starter AngeloLazzari

    (@angelolazzari)

    That was the problem THANK YOU VERY MUCH!!!

    Thread Starter AngeloLazzari

    (@angelolazzari)

    You rule!!!


    Hello Support,

    I debug the plugin and showing this error to me can you please help me on this

    Fatal error: Uncaught Error: Class ‘Google\Auth\Subscriber\ScopedAccessTokenSubscriber’ not found in /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/src/AuthHandler/Guzzle5AuthHandler.php:74 Stack trace: #0 /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(456): Google\AuthHandler\Guzzle5AuthHandler->attachToken() #1 /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(913): Google\Client->authorize() #2 /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Service/Resource.php(238): Google\Client->execute() #3 /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/vendor/google/apiclient-services/src/Oauth2/Resource/Userinfo.php(42): Google\Service\Resource->call() #4 /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/google-sheets.php(437): Google\Service\Oauth2\Resource\Userinfo->get() #5 /sites/ in /var/www/html/wp-content/plugins/cf7-google-sheets-connector/lib/src/AuthHandler/Guzzle5AuthHandler.php on line 74

    Thread Starter AngeloLazzari

    (@angelolazzari)

    Hi! while the author reply, please, try to disable all the plugin and activate one by one. My problem was that a plugin had been using an old google library that was in conflict with this plugin google library…. so I asked the other plugin author to update the plugin as so all was fixed…. or just try to update you plugins, maybe they already update that library… thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.