This add-on helps a user to log into SuiteCRM with an existing Google ID. No more having to remember yet another new login account. Just click on the "Sign in with Google" button and login right into the CRM.
#4202 - Problem
Hello,
there's a conflict problem with your plugin. As soon as I log in with Goggle, when it redirects back to the CRM, a 500 error occurs and I see those errors in SuiteCRM logs (I cleaned the machine specific parts):
PHP Fatal error: Cannot declare class Google_Exception, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/Google_Client.php on line 0, referer: https://accounts.google.com/ PHP Fatal error: Cannot declare class Google_Exception, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/Google_Client.php on line 0, referer: https://accounts.google.com/ PHP Fatal error: Cannot declare class Google_Exception, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/Google_Client.php on line 0, referer: https://accounts.google.com/ PHP Fatal error: Cannot declare class Google_Exception, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/Google_Client.php on line 0, referer: https://accounts.google.com/ PHP Fatal error: Cannot declare class Google_Exception, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/Google_Client.php on line 0, referer: https://accounts.google.com/ PHP Fatal error: Cannot declare class Google_Model, because the name is already in use in /.../modules/DT_GoogleSignIn/GoogleAPI/service/Google_Model.php on line 25, referer: https://accounts.google.com/
It seems to be a redeclaration issue due to the fact that the same classes are defined in the vendor/google folder.
I'm using SuiteCRM version 7.12.2
Regards.
2 years ago
Hi Ced,
Thanks for connecting us...!
We will help you to resolve your issue please connect me on skyep :- dreamertechs or whatsapp :- 8866461183.
Regards,
Team Dreamer Technologies.
2 years ago
SOLUTION: In file: /vendor/google/apiclient/src/aliases.php
just comment out the lines shown below: