• Resolved friendlyneighbourhood007

    (@friendlyneighbourhood007)


    Hi there,

    I was using Analytify Plugin along with your plugin but when I use register or sign in as Google, I get following error:
    Fatal error: Uncaught TypeError: Google\AuthHandler\Guzzle6AuthHandler::__construct(): Argument #1 ($cache) must be of type ?Analytify\Psr\Cache\CacheItemPoolInterface, Google\Auth\Cache\MemoryCacheItemPool given, called in C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\AuthHandler\AuthHandlerFactory.php on line 45 and defined in C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\AuthHandler\Guzzle6AuthHandler.php:21 Stack trace:

    #0 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\AuthHandler\AuthHandlerFactory.php(45): Google\AuthHandler\Guzzle6AuthHandler->__construct(Object(Google\Auth\Cache\MemoryCacheItemPool), Array)

    #1 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\Client.php(1013): Google\AuthHandler\AuthHandlerFactory::build(Object(Google\Auth\Cache\MemoryCacheItemPool), Array)

    #2 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\Client.php(336): Google\Client->getAuthHandler()

    #3 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\Client.php(732): Google\Client->authorize()

    #4 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\Service\Resource.php(150): Google\Client->execute(Object(Analytify\GuzzleHttp\Psr7\Request), ‘Google\Service\…’)

    #5 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\user-registration-social-connect\vendor\google\apiclient-services\src\Oauth2\Resource\Userinfo.php(42): Google\Service\Resource->call(‘get’, Array, ‘Google\Service\…’)

    #6 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\user-registration-social-connect\includes\networks\class-ursc-network-google.php(172): Google\Service\Oauth2\Resource\Userinfo->get()

    #7 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\user-registration-social-connect\includes\networks\class-ursc-network-google.php(80): URSC_Network_Google->set_network_response()

    #8 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\user-registration-social-connect\includes\networks\class-ursc-network-google.php(49): URSC_Network_Google->get_social_network_data()

    #9 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\user-registration-social-connect\includes\class-ursc-frontend.php(108): URSC_Network_Google->request(‘779486694157-t5…’, ‘GOCSPX-IQPXP6Zb…’)

    #10 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-includes\class-wp-hook.php(324): URSC_Frontend->social_login_check(”)

    #11 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #12 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array)

    #13 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-settings.php(643): do_action(‘init’)

    #14 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-config.php(109): require_once(‘C:\Users\WPB\Lo…’)

    #15 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-load.php(50): require_once(‘C:\Users\WPB\Lo…’)

    #16 C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-login.php(12): require(‘C:\Users\WPB\Lo…’)

    #17 {main} thrown in C:\Users\WPB\Local Sites\analytify-google-login\app\public\wp-content\plugins\wp-analytify\lib\Google-GA4\vendor\google\apiclient\src\AuthHandler\Guzzle6AuthHandler.php on line 21

    Any fixes ? There is I think issue of namespaces but guide me.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support sanjuacharya77

    (@sanjuacharya77)

    Hi @friendlyneighbourhood007,

    Thanks for writing in.

    Looking at your error details, It seems that you are using a premium feature of the User Registration plugin, and here we provide support for the free feature only. Could you please create a premium support ticket from?here? We’ll be happy to assist you further with any questions or inquiries you may have.

    Regards!

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.