• Hello good time. I received the API code and the secret code and entered it in the plugin. When I click the authorize button and enter the Gmail profile, in the last step, which should return to the WordPress page and authorize work should be done successfully, I will encounter the following error message. Please advise what is the problem?

    Fatal error: Uncaught Error: Call to undefined function Mailster\GuzzleHttp\Psr7\uri_for()
    in /home/directoryname/public_html/wp-content/plugins/mailster-gmail/vendor/google/auth/src/OAuth2.php on line 1129

    Call stack:

    Mailster\G\A\OAuth2::coerceUri()
    wp-content/plugins/mailster-gmail/vendor/google/auth/src/OAuth2.php:569
    Mailster\G\A\OAuth2::setAuthorizationUri()
    wp-content/plugins/mailster-gmail/vendor/google/auth/src/OAuth2.php:288
    Mailster\G\A\OAuth2::__construct()
    wp-content/plugins/mailster-gmail/vendor/google/apiclient/src/Google/Client.php:823
    Mailster\Google_Client::createOAuth2Service()
    wp-content/plugins/mailster-gmail/vendor/google/apiclient/src/Google/Client.php:814
    Mailster\Google_Client::getOAuth2Service()
    wp-content/plugins/mailster-gmail/vendor/google/apiclient/src/Google/Client.php:181
    Mailster\Google_Client::fetchAccessTokenWithAuthCode()
    wp-content/plugins/mailster-gmail/vendor/google/apiclient/src/Google/Client.php:167
    Mailster\Google_Client::authenticate()
    wp-content/plugins/mailster-gmail/classes/gmail.class.php:149
    MailsterGmail::get_client()
    wp-content/plugins/mailster-gmail/classes/gmail.class.php:88
    MailsterGmail::auth_endpoint()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-admin/admin.php:237
    require_once()
    wp-admin/edit.php:10
    Query Monitor

  • The topic ‘error messege’ is closed to new replies.