mantisbt-plugins / GoogleOauth

Google Oauth 2.0 function for mantisBT.
Other
9 stars 16 forks source link

possibly incompatible version of Guzzlehttp in plugin and mantis #28

Open n3wm4rk opened 2 months ago

n3wm4rk commented 2 months ago

Got error 'PHP message: Undefined constant GuzzleHttp\\ClientInterface::MAJOR_VERSION\n/var/www/html/vendor/guzzlehttp/guzzle/src/functions.php: 71: GuzzleHttp\\Utils - :: - defaultUserAgent()\n/var/www/html/plugins/GoogleOauth/pages/assets/lib/google-api-php-client/vendor/guzzlehttp/guzzle/src/Client.php: 194: - - - - GuzzleHttp\\default_user_agent()\n/var/www/html/plugins/GoogleOauth/pages/assets/lib/google-api-php-client/vendor/guzzlehttp/guzzle/src/Client.php: 75: GuzzleHttp\\Client - -> - configureDefaults()\n/var/www/html/plugins/GoogleOauth/pages/assets/lib/google-api-php-client/src/Google/Client.php: 1058: GuzzleHttp\\Client - -> - __construct()\n/var/www/html/plugins/GoogleOauth/pages/assets/lib/google-api-php-client/src/Google/Client.php: 1032: Google_Client - -> - createDefaultHttpClient()\n/var/www/html/plugins/GoogleOauth/pages/assets/lib/google-api-php-client/src/Google/Client.php: 190: Google_Client - -> - getHttpClient()\n/var/www/html/plugins/GoogleOauth/pages/redirect.php: 18: Google_Client - -> - fetc...', referer: https://accounts.google.com/ in https://github.com/googleapis/google-api-php-client/tree/main/src/AuthHandler version 7 is present.