by Rolustech

Boost your SuiteCRM with seamless Google integration. Sync contacts, meetings, and Drive files. Streamline workflows and elevate productivity.

Free 30 day trial
Try it Now

#2132 - The error message of cron

Closed Bug? created by wangyijun19 5 years ago

When I execute cron job manually, I got the error message as below: PHP Notice: Undefined variable: lastSync in /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/DriveHelper.php on line 244 PHP Notice: Undefined offset: 0 in /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/google-api-php-client/GoogleDrive.php on line 220 PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/google-api-php-client/GoogleDrive.php:220 Stack trace:

0 /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/DriveHelper.php(247): GoogleDrive->getUpdatedFiles(Object(Google_DriveService))

1 /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/GoogleHelper.php(159): DriveHelper::checkGSyncFolders(Object(Google_DriveService))

2 /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/GoogleHelper.php(50): GoogleHelper->syncGdrive('2013-01-01 01:0...')

3 /var/www/vhosts/myhost.com/httpdocs/custom/modules/Schedulers/Ext/ScheduledTasks/scheduledtasks.ext.php(357): GoogleHelper->performSync('myemail@gma...', '98941e10-1ced-a...', '2013-01-01 01:0...', 'drive')

4 /var/www/vhosts/myhost.com/httpdocs/modules/SchedulersJobs/SchedulersJob.php(539): googleDriveSync(Object(SchedulersJob))

5 /var/www/vhosts/myhost.com/httpdocs/include/SugarQueue/SugarCronJobs.php(191): in /var/www/vhosts/myhost.com/httpdocs/custom/include/Google/google-api-php-client/GoogleDrive.php on line 220

Suppose Google drive is not working well. How can I fix it? Thank you

  1. rolustech member avatar

    Rolustech Provider Affiliate

    5 years ago

    Hi there,

    Thanks for reaching out.

    We apologize for the inconvenience caused. Can you kindly share your instance link and credentials with us on support@rolustech.com so we can analyze and iron out this issue?

    Regards, Rolustech Support support@rolustech.com

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "email syncing is not working in suitecrm 7.9.2" - deepikakesarwani

    Read More Reviews