by Rolustech

Become more efficient! Enter everything just once. Automatically sync Calendars, Contacts, and Documents between Google Apps and SuiteCRM. Get your Gmail, Contacts, Calendar items and Documents automatically synced instantly with this seamless integration.

Free 30 day trial
Try it Now

#2132 - The error message of cron

Closed Bug? created by wangyijun19 4 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

    4 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
  • "we have installed the instance with the invaluable help of support who have been attentive to our requirements. works great on versions 7.13.2 and 8...." - gabriel1

    Read More Reviews