• Resolved troiphamhanh

    (@troiphamhanh)


    After successful authentication, the google access code is not accepted. An error returns:
    Access code Can’t be blank

    The verify_gs_integation ajax call (https://dev.plumvillage.org/wp-admin/admin-ajax.php), responds with

    Ooops! Something went wrong.

    PHP Recoverable Error: Uncaught exception 'Error' with message 'Call to undefined method GuzzleHttp\Utils::chooseHandler()' in /app/web/wp-content/plugins/cf7-google-sheets-connector/lib/vendor/guzzlehttp/guzzle/src/functions.php on line 61, request: POST /wp-admin/admin-ajax.php, request_id: d4665c8a4636c2156ab98496be23468c0# GuzzleHttp\choose_handler() at [/app/web/wp-content/themes/plumvillage/vendor/guzzlehttp/guzzle/src/HandlerStack.php:42] 1# GuzzleHttp\HandlerStack::create() at [/app/web/wp-content/themes/plumvillage/vendor/guzzlehttp/guzzle/src/Client.php:65] 2# GuzzleHttp\Client->__construct(array[2]) at [/app/web/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php:1213] 3# Google\Client->createDefaultHttpClient() at [/app/web/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php:1163] 4# Google\Client->getHttpClient() at [/app/web/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php:255] 5# Google\Client->fetchAccessTokenWithAuthCode(4/0AfJohXluebgV-y-e4vOvzjMS2A2bj6a8VQ4PnD7xNGB2jjYYo50X9t8SvcAoOGzxnmm-vA) at [/app/web/wp-content/plugins/cf7-google-sheets-connector/lib/google-sheets.php:54] 6# CF7GSC_googlesheet::preauth(4/0AfJohXluebgV-y-e4vOvzjMS2A2bj6a8VQ4PnD7xNGB2jjYYo50X9t8SvcAoOGzxnmm-vA) at [/app/web/wp-content/plugins/cf7-google-sheets-connector/includes/class-gs-service.php:390] 7# Gs_Connector_Service->verify_gs_integation() at [/app/web/wp-includes/class-wp-hook.php:324] 8# WP_Hook->apply_filters(, array[1]) at [/app/web/wp-includes/class-wp-hook.php:348] 9# WP_Hook->do_action(array[1]) at [/app/web/wp-includes/plugin.php:517] 10# do_action(wp_ajax_verify_gs_integation) at [/app/web/wp-admin/admin-ajax.php:188]

    The reference of this error is d4665c8a4636c2156ab98496be23468c.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter troiphamhanh

    (@troiphamhanh)

    There seems to be a version of guzzle shipped in the theme which is incompatible. Disabling the theme and deinstalling the guzzle in the theme solves the problem. But it I might break things somewhere else if I do this. I just need this one plugin to work.
    So somehow the theme one is loaded instead of the shipped guzzle in the plugin. Can you force the plugin to use its own bundled vendor packages?

    • This reply was modified 2 years, 6 months ago by troiphamhanh.
    Plugin Author WesternDeal

    (@westerndeal)

    Hello @troiphamhanh
    Exactly, As per the error log it looks this theme “themes/plumvillage/” is using guzzle library but the older version, therefore it creates a conflict,
    You can contact the theme developer to update the GuzzleHTTP library files to solve this issue.

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

The topic ‘authentication not working, google access code not accepted’ is closed to new replies.