• Resolved auludag

    (@auludag)


    Fatal error: Uncaught Error: Call to undefined function Automattic\WooCommerce\GoogleListingsAndAds\Vendor\GuzzleHttp\Psr7\uri_for()
    in /../wp-content/plugins/google-listings-and-ads/vendor/google/auth/src/OAuth2.php on line 1364
    
    Call stack:
    
    Automattic\W\G\V\G\A\OAuth2::coerceUri()
    wp-content/plugins/google-listings-and-ads/vendor/google/auth/src/OAuth2.php:708
    Automattic\W\G\V\G\A\OAuth2::setAuthorizationUri()
    wp-content/plugins/google-listings-and-ads/vendor/google/auth/src/OAuth2.php:346
    Automattic\W\G\V\G\A\OAuth2::__construct()
    wp-content/plugins/google-listings-and-ads/vendor/google/apiclient/src/Client.php:1053
    Google\Client::createOAuth2Service()
    wp-content/plugins/google-listings-and-ads/vendor/google/apiclient/src/Client.php:1033
    Google\Client::getOAuth2Service()
    wp-content/plugins/google-listings-and-ads/vendor/google/apiclient/src/Client.php:394
    Google\Client::createAuthUrl()
    wp-content/plugins/gg-woo-feed/inc/Common/Module/Google_Merchant_Content_API.php:171
    GG_Woo_Feed\C\M\Google_Merchant_Content_API::get_access_token_link()
    wp-content/plugins/gg-woo-feed/inc/Admin/Page/Google_Sync.php:84
    GG_Woo_Feed\A\P\Google_Sync::render()
    wp-includes/class-wp-hook.php:292
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:316
    WP_Hook::do_action()
    wp-includes/plugin.php:484
    do_action()
    wp-admin/admin.php:259
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi. I had the same problem whenever I installed the plugin via the download zip option or plugins dashboard.

    I had then used the SFTP protocol via Filezilla to upload the plugin, and activated it as normal and it worked correctly for some time.

    Check this out:

    https://filezillapro.com/docs/v3/basic-usage-instructions/transfer-files-using-filezilla-filezilla-pro/

    Plugin Support Abhi G. a11n

    (@theabhig)

    Hi @auludag

    Thanks for sharing the error message.

    Can you confirm is this happening when trying to install the extension, activate the extension, or after it has already been activated?

    If it is while trying to install the plugin, feel free to try the recommendation by @atomicrange1.

    Alternatively, can you let me know what happens if you try to install Google Listings & Ads with your other plugins except for WooCommerce disabled? We sometimes see that the installation process itself is more difficult than simply having the plugin be active on your site.

    We will be standing by for your response.

    Thanks!

    Plugin Support Abhi G. a11n

    (@theabhig)

    Hi @auludag

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks!

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