by Rolustech

Become more efficient! Enter everything just once. Automatically sync Emails, 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

Open Bug? created by wangyijun19 7 months 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

    6 months 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...