Dear SuiteCRM user ,
I upgrade to the newest Version of SuiteCRM 7.11.21 and now get Warnings on the Top of every page.
I Use Ubuntu 18.04.5 and PHP 7.3.29
Can someone tell me what to do now to stop these warnings? With the Pre version 7.11.20 i had no errors.
Juergen
Warning : Class ‘Google_Service’ not found in /var/www/vhosts/xxxxx/SuiteCRM/vendor/google/apiclient-services/autoload.php on line 21
Warning : Class ‘Google_Service_Resource’ not found in /var/www/vhosts/xxxxx/SuiteCRM/vendor/google/apiclient-services/autoload.php on line 21
Warning : Class ‘Google_Model’ not found in /var/www/vhosts/xxxxx/SuiteCRM/vendor/google/apiclient-services/autoload.php on line 21
Warning : Class ‘Google_Collection’ not found in /var/www/vhosts/xxxxx/SuiteCRM/vendor/google/apiclient-services/autoload.php on line 21
Potentially the vendor folder is not updating correctly. A user had a similar problem, they resolved it by removing the problem folder from vendor and doing composer install/update again.
I ran the Composer Install as above in the google/apiclient-services folder and it updated dependencies. The errors in php log have gone away although I now have some odd cron failures I need to t-shoot.
Having these issues too with tons of warning/log entries of “Google XYZ services” in the log file which are being logged almost every second; just jumping on the train to follow the thread.
[09-May-2022 17:13:20 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:20 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:20 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:20 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:58 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:58 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:58 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:13:58 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:34 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:34 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:34 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:34 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:58 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:58 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:58 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:14:58 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:20 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:20 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:20 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:20 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:58 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:58 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:58 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:15:58 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:16:58 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:16:58 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:16:58 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:16:58 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:17:20 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:17:20 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:17:20 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:17:20 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:22:12 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:22:12 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:22:12 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[09-May-2022 17:22:12 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[10-May-2022 07:28:37 Europe/London] PHP Warning: Class 'Google_Service' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[10-May-2022 07:28:37 Europe/London] PHP Warning: Class 'Google_Service_Resource' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[10-May-2022 07:28:37 Europe/London] PHP Warning: Class 'Google_Model' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
[10-May-2022 07:28:37 Europe/London] PHP Warning: Class 'Google_Collection' not found in /public_html/vendor/google/apiclient-services/autoload.php on line 21
Looks like you maybe on an older version that doesn’t have the patch to update the class references “class\class” etc.
I believe you can remove the vendor folder and re-install composer from the SuiteCRM root so that the classes are pulled down again and the namespaces are correctly referenced.
Cool. I’ll have to try that to. I tried updating the folder but not deleting and reinstalling. Did that solve the 500 error on Google Calendar Auth too?