2-Way Google Calendar Sync Not Working
- Set default values for sync new Appointments created on Google Calendar has a default location and default service selected.
- All fields for Advanced Calendars Sync are selected (Calendar, Location, Service, Worker).
- Delete from GCal is set to Cancel Appointment in EA.
There are no errors in the sync log, and the sync is running every 5 minutes with the following log data: [2024-10-31 20:20:18.975929] [info] Syncing events for Calendar: XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com
[2024-10-31 20:25:15.361360] [info] Sync started
[2024-10-31 20:25:15.361438] [debug] Calendars for sync
XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com: array(
'location' => '1',
'service' => '1',
'worker' => '1',
)
[2024-10-31 20:25:15.361541] [info] Syncing events for Calendar: XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com
[2024-10-31 20:31:30.123004] [info] Sync started
[2024-10-31 20:31:30.123071] [debug] Calendars for sync
XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com: array(
'location' => '1',
'service' => '1',
'worker' => '1',
)
[2024-10-31 20:31:30.123162] [info] Syncing events for Calendar: XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com
[2024-10-31 20:35:17.641496] [info] Sync started
[2024-10-31 20:35:17.641567] [debug] Calendars for sync
XXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com: array(
'location' => '1',
'service' => '1',
'worker' => '1',
Hi, this is not good. It is running sync but not finishing it. There are couple of log records missing in each cycle. Can you please tell me is the WP Cron connected to the host scheduler?
Best regards,
Nikola
Can you please increase PHP execution time. Looks like it is interrupted.
Let me know if there is anything else you suggest to try and resolve this issue.
Let me know if there is anything else you suggest to try and resolve this issue.
Hi, sorry for late reply. Can you please create a temp account for me to check EA Settings. I am not sure why it is stopping cron execution in the middle of the process. Do you have anything inside error_log file on your hosting?
Best regards,
Nikola
Hi Nikola,
There are no server errors or PHP errors, and the sync runs but never logs as completed. Appointment sync one-way to Google Calendar, but if I delete on Google Calendar nothing syncs back to the site.
I’ve created a staging site and credentials for you.
Can you please send me the log file from Extension settings? I am not sure why it is working the way it is in your case. Could be also the hosting settings.
I don’t need it, I was able to access it via File Editor inside plugin section.
Can you please try the following, change mappings to pull event from some other calendar. Maybe there is something in that primary calendar that is blocking cron execution.
Best regards,
Nikola
Hi Nikola. I created a new calendar just for EA testing (which is what the plugin is connected to, and it’s having the same issue. It looks like everything was working fine on the existing server until some time in mid-October, so I’m not sure why there would be an issue suddenly.
Any other suggestions on what the issue could be?
Please login or Register to submit your answer